:root {
    --primary: #7b35ab;
    --primary-hover: #6a2d94;
    --dark-blue: #0a2540;
}

.auth-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.pexels.com/photos/3768131/pexels-photo-3768131.jpeg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
    max-width: 700px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
    margin-bottom: 0;
}

/* Fotoğraf Upload Stilleri */
.photo-upload-section {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    border: 2px dashed #e9ecef;
    border-radius: 15px;
    background: rgba(123, 53, 171, 0.02);
    transition: all 0.3s ease;
}

.photo-upload-section:hover {
    border-color: var(--primary);
    background: rgba(123, 53, 171, 0.05);
}

.photo-preview {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    margin: 0 auto 15px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-preview .placeholder-icon {
    font-size: 3rem;
    color: #ccc;
}

.photo-upload-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.photo-upload-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.photo-upload-input {
    display: none;
}

.form-floating {
    margin-bottom: 20px;
}

.form-floating .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    height: auto;
}

.form-floating .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(123, 53, 171, 0.25);
}

.form-floating label {
    color: #666;
    padding: 12px 15px;
}

/* Telefon Numarası Özel Stilleri */
.phone-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.country-code-wrapper {
    flex: 0 0 90px;
    /*min-width: 140px;*/
}

.phone-number-wrapper {
    flex: 1;
    min-width: 0;
}

.country-code-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 10px;
    height: 58px;
    font-size: 0.9rem;
    background: white;
    width: 100%;
}

.country-code-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(123, 53, 171, 0.25);
    outline: none;
}

.phone-input {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    height: 58px;
    font-size: 1rem;
    width: 100%;
}

.phone-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(123, 53, 171, 0.25);
    outline: none;
}

.phone-label {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.phone-error {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.phone-error.show {
    display: block;
}

/* Şifre Gereksinimleri - Başlangıçta gizli */
.password-requirements {
    margin-top: 10px;
    padding: 15px;
    background: rgba(123, 53, 171, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    display: none;
    /* Başlangıçta gizli */
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.password-requirements.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.password-requirements h6 {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.requirement-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.requirement-item i {
    margin-right: 8px;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.requirement-item.valid {
    color: #28a745;
}

.requirement-item.valid i {
    transform: scale(1.1);
}

.requirement-item.invalid {
    color: #dc3545;
}

.password-strength {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    padding: 5px 10px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.strength-weak {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.strength-medium {
    color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
}

.strength-strong {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

/* Mezuniyet Sistemi */
.education-section {
    background: rgba(123, 53, 171, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(123, 53, 171, 0.1);
}

.education-section h5 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.education-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    position: relative;
}

.education-item:last-child {
    margin-bottom: 0;
}

.education-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 15px;
}

.education-number {
    background: var(--primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.remove-education {
    background: #dc3545;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
}

.remove-education:hover {
    background: #c82333;
}

.add-education-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.add-education-btn:hover {
    background: linear-gradient(135deg, #218838, #1ea080);
    transform: translateY(-2px);
}

.document-upload-area {
    border: 2px dashed #e9ecef;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.document-upload-area:hover {
    border-color: var(--primary);
    background: rgba(123, 53, 171, 0.05);
}

.document-upload-area.has-file {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.terms-checkbox {
    margin-bottom: 25px;
}

.terms-checkbox .form-check-input {
    margin-top: 0.25rem;
}

.terms-checkbox .form-check-label {
    font-size: 0.9rem;
    color: #666;
}

.terms-checkbox .form-check-label a {
    color: var(--primary);
    text-decoration: none;
}

.terms-checkbox .form-check-label a:hover {
    text-decoration: underline;
}

.btn-register {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border: none;
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.btn-register:hover {
    background: linear-gradient(135deg, var(--primary-hover), #5a2580);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 53, 171, 0.3);
}

.btn-register:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.auth-divider span {
    background: white;
    padding: 0 15px;
    color: #666;
    font-size: 0.9rem;
}

.social-login {
    margin-bottom: 25px;
}

.btn-social {
    padding: 12px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    background: white;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.btn-social:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.auth-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.auth-footer p {
    color: #666;
    margin-bottom: 10px;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.back-to-home {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-to-home:hover {
    background: white;
    color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.time-range-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.time-range-group .form-floating {
    flex: 1;
    margin-bottom: 0;
}

.time-separator {
    color: #666;
    font-weight: 600;
    margin: 0 5px;
    padding-top: 10px;
}

@media (max-width: 768px) {
    /*.auth-container {
        padding: 40px 0;
    }*/

    .auth-card {
        margin: 20px;
        padding: 30px 25px;
    }

    .photo-preview {
        width: 120px;
        height: 120px;
    }

    .education-item {
        padding: 15px;
    }

    .phone-input-group {
        flex-direction: column;
        gap: 15px;
    }

    .country-code-wrapper {
        flex: none;
        min-width: auto;
    }

    .phone-number-wrapper {
        flex: none;
    }
}
