﻿/*userinput page*/
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
           background-image: url("url.jpg");
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            background-attachment: fixed;
            margin: 0;
            padding: 0;
        }
        .dropdown-menu {
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border: none;
        }

        .dropdown-item {
            padding: 0.5rem 1rem;
            transition: all 0.2s ease;
        }

        .dropdown-item:hover {
            background-color: #f8f9fa;
        }


        .container {
            max-width: 800px !important;
            margin: 2rem auto;
            padding: 2rem;
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        h1 {
            text-align: center;
            margin-bottom: 2rem;
            color: #333;
            font-size: 2.5rem;
        }

        .form-section {
            margin-bottom: 2rem;
            padding: 1.5rem;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            background: white;
        }

        .form-section h2 {
            margin-bottom: 1rem;
            color: #4a5568;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: #4a5568;
            margin-right:85%
        }

        input[type="text"], input[type="url"], input[type="tel"], textarea, select {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            font-size: 15px;
            transition: all 0.3s ease;
        }

        input:focus, textarea:focus, select:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .input-error {
            border-color: #e53e3e !important;
            box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1) !important;
        }

        .input-success {
            border-color: #38a169 !important;
            box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.1) !important;
        }

        .error-message {
            color: #e53e3e;
            font-size: 14px;
            margin-top: 5px;
            display: none;
        }

        textarea {
            resize: vertical;
            min-height: 100px;
        }

        .profile-pic-upload {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
        }

        .profile-pic-preview {
            width: 120px;
            height: 120px;
            border: 2px dashed #cbd5e0;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            overflow: hidden;
        }

        .profile-pic-preview:hover {
            border-color: #667eea;
            background: rgba(102, 126, 234, 0.05);
        }

        .profile-pic-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        .upload-btn {
            background: #667eea;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .upload-btn:hover {
            background: #5a67d8;
            transform: translateY(-2px);
        }

        .hidden {
            display: none !important;
        }

        .btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: block;
            margin: 2rem auto 0;
            min-width: 200px;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
        }

        .selected-platforms {
            margin-bottom: 1rem;
        }

        .selected-platform {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 12px 15px;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .remove-platform {
            background: #e53e3e;
            color: white;
            border: none;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .remove-platform:hover {
            background: #c53030;
        }

        /* Modal Styles */
       /* Modal Styles */
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

.modal-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.modal-content {
    background: white !important;
    border-radius: 15px !important;
    padding: 0 !important;
    max-width: 500px !important;
    width: 90% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    transform: scale(0.8) !important;
    transition: transform 0.3s ease !important;
}

.modal-overlay.active .modal-content {
    transform: scale(1) !important;
}

.modal-header {
    padding: 20px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.modal-title {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.close-btn {
    background: none !important;
    border: none !important;
    font-size: 24px !important;
    cursor: pointer !important;
    color: #666 !important;
    padding: 0 !important;
}

.close-btn:hover {
    color: #333 !important;
}

.modal-body {
    padding: 20px !important;
}

.modal-footer {
    padding: 20px !important;
    border-top: 1px solid #e2e8f0 !important;
    display: flex !important;
    gap: 10px !important;
    justify-content: flex-end !important;
}

.modal-btn {
    padding: 10px 20px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.modal-btn-primary {
    background: #667eea !important;
    color: white !important;
}

.modal-btn-primary:hover {
    background: #5a67d8 !important;
}

.modal-btn-secondary {
    background: #f7fafc !important;
    color: #4a5568 !important;
    border: 1px solid #e2e8f0 !important;
}

.modal-btn-secondary:hover {
    background: #edf2f7 !important;
}
.label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    gap: 10px;
}

.label-row label {
    flex: 1;
    font-weight: 500;
}



        .username-status {
            margin-top: 5px;
            font-size: 14px;
        }
        .username-available {
            color: #38a169;
        }
        .username-taken {
            color: #e53e3e;
        }
        .profile-pic-preview a {
    text-decoration: underline;
    color: #007bff;
    cursor: pointer;
    text-decoration:none;
}
        .bio{
            margin-right:95%;
        }


  .notification {
    position: fixed;
    top: 70px; /* below navbar */
    right: 20px;
    background: white;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    z-index: 9999;

    /* start off screen */
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    border-left: 4px solid #007bff;
}

.notification.active {
    transform: translateX(0); /* slide to visible */
    opacity: 1;
}

.notification.hidden {
    transform: translateX(120%); /* slide out */
    opacity: 0;
}


/* Color themes */
.notification-success {
    border-left-color: #28a745;
    background-color: #d4edda;
}

.notification-error {
    border-left-color: #dc3545;
    background-color: #f8d7da;
}

.notification-info {
    border-left-color: #17a2b8;
    background-color: #d1ecf1;
}

/* Close button */
.notification-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.notification-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}


@media (min-width: 1024px) {
  .profile-url-label {
    margin-right: 350px;
  }
}

@media (max-width: 768px) {
  .profile-url-label {
    margin-right: 190px;
  }
}

/* Default fallback for medium screens */
.profile-url-label {
  font-weight: 600;
  font-size: 14px;
  color: black;
  display: inline-block;
}
@media (min-width: 1024px) {
  .plateform-url-label {
    margin-right: 390px;
  }
}

@media (max-width: 768px) {
  .profile-url-label {
    margin-right: 230px;
  }
}

/* Default fallback for medium screens */
.profile-url-label {
  font-weight: 600;
  font-size: 14px;
  color: black;
  display: inline-block;
}





