/* Desktop Register Styles */
.register-container {
    /* background: linear-gradient(135deg, #111531 0%, #181b30 100%); */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

.register-form-wrapper {
    background: #181b30;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid #0053ff;
    backdrop-filter: blur(10px);
}

.register-title {
    text-align: center;
    margin-bottom: 30px;
}

.register-title h1 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #08fcfc, #08fcfc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.register-title p {
    color: #b3b3b3;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.form-section {
    margin-bottom: 40px;
    padding: 35px;
    background: rgba(30, 30, 30, 0.3);
    border-radius: 12px;
    border: 1px solid #0053ff;
}

.section-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #08fcfc40;
    background: linear-gradient(45deg, #08fcfc, #08fcfc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.required-star {
    color: #08fcfc;
    font-size: 12px;
}

.form-input {
    width: 100%;
    height: 52px;
    background: #181b30;
    border: 2px solid #0053ff;
    border-radius: 12px;
    padding: 0 16px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #08fcfc;
    box-shadow: 0 0 0 3px #08fcfc0f;
    background: #181b30;
}

.form-input::placeholder {
    color: #888;
}

.form-select {
    width: 100%;
    height: 52px;
    background: #181b30;
    border: 2px solid #0053ff;
    border-radius: 12px;
    padding: 0 16px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: #08fcfc;
    box-shadow: 0 0 0 3px #08fcfc1f;
    background: #181b30;
}

.form-select option {
    background: #181b30;
    color: #ffffff;
}

.birth-date-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.error-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.phone-input-container {
    display: flex;
    align-items: center;
    background: #181b30;
    border: 2px solid #3c415f33333;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.phone-input-container:focus-within {
    border-color: #08fcfc;
    box-shadow: 0 0 0 3px #08fcfc17;
    background: #181b30;
}

.phone-prefix {
    background: #08fcfc2b;
    color: #08fcfc;
    padding: 0 12px;
    height: 48px;
    display: flex;
    align-items: center;
    font-weight: 600;
    border-right: 1px solid #08fcfc40;
}

.phone-input {
    flex: 1;
    height: 48px;
    background: transparent;
    border: none;
    padding: 0 16px;
    color: #ffffff;
    font-size: 16px;
}

.phone-input:focus {
    outline: none;
}

.phone-input::placeholder {
    color: #888;
}

.submit-btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(45deg, #08fcfc, #08fcfc);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px #08fcfc40;
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.error-message {
    background: #08fcfc17;
    border: 1px solid #08fcfc40;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    color: #08fcfc40;
    font-size: 14px;
    text-align: center;
}

.register-error {
    color: #08fcfc;
    font-size: 0.9rem;
    margin-top: 8px;
    animation: errorFadeIn 0.3s ease;
    font-weight: 600;
}

@keyframes errorFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-5px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

.error-input {
    border-color: #08fcfc !important;
    background: #08fcfc17 !important;
    box-shadow: 0 0 15px #08fcfc40 !important;
}

.has-value {
    border-color: #00ff19 !important;
    box-shadow: 0 0 10px rgb(37 255 0 / 20%) !important;
}

/* Mobile Register Styles */
.mobile-register-container {
    background: linear-gradient(135deg, #181b30 0%, #181b30 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

.mobile-register-form {
    background: #181b30;
    border-radius: 20px;
    padding: 30px 25px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid #0053ff;
    backdrop-filter: blur(10px);
}

.mobile-register-title {
    text-align: center;
    margin-bottom: 30px;
}

.mobile-register-title h1 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #08fcfc, #08fcfc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-register-title p {
    color: #b3b3b3;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.mobile-form-section {
    margin-bottom: 25px;
    padding: 20px 15px;
    background: rgba(30, 30, 30, 0.3);
    border-radius: 12px;
    border: 1px solid #3e3c45;
}

.mobile-section-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #08fcfc40;
    background: linear-gradient(45deg, #08fcfc, #08fcfc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.mobile-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
}

.mobile-form-group {
    margin-bottom: 12px;
}

.mobile-form-group.full-width {
    grid-column: 1 / -1;
}

.mobile-form-label {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.mobile-form-input {
    width: 100%;
    height: 46px;
    background: #181b30;
    border: 2px solid #3e3c45;
    border-radius: 10px;
    padding: 0 12px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.mobile-form-input:focus {
    outline: none;
    border-color: #08fcfc;
    box-shadow: 0 0 0 3px #08fcfc17;
    background: #181b30;
}

.mobile-form-input::placeholder {
    color: #888;
}

.mobile-form-select {
    width: 100%;
    height: 46px;
    background: #181b30;
    border: 2px solid #3e3c45;
    border-radius: 10px;
    padding: 0 12px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-appearance: none;
}

.mobile-form-select:focus {
    outline: none;
    border-color: #08fcfc;
    box-shadow: 0 0 0 3px #08fcfc0d;
    background: #181b30;
}

.mobile-form-select option {
    background: #181b30;
    color: #ffffff;
}

.mobile-birth-date-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.mobile-error-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.mobile-phone-input-container {
    display: flex;
    align-items: center;
    background: #181b30;
    border: 2px solid #3e3c45;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mobile-phone-input-container:focus-within {
    border-color: #08fcfc;
    box-shadow: 0 0 0 3px #08fcfc0d;
    background: #181b30;
}

.mobile-phone-prefix {
    background: #08fcfc0d;
    color: #08fcfc;
    padding: 0 10px;
    height: 42px;
    display: flex;
    align-items: center;
    font-weight: 600;
    border-right: 1px solid #08fcfc40;
    font-size: 14px;
}

.mobile-phone-input {
    flex: 1;
    height: 42px;
    background: transparent;
    border: none;
    padding: 0 12px;
    color: #ffffff;
    font-size: 15px;
}

.mobile-phone-input:focus {
    outline: none;
}

.mobile-phone-input::placeholder {
    color: #888;
}

.mobile-submit-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(45deg, #08fcfc, #08fcfc);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-submit-btn:active {
    transform: scale(0.98);
}

.mobile-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.mobile-submit-btn:active::before {
    left: 100%;
}

.mobile-error-message {
    background: #08fcfc17;
    border: 1px solid #08fcfc40;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    color: #08fcfc;
    font-size: 14px;
    text-align: center;
}

.mobile-register-error {
    color: #08fcfc;
    font-size: 0.75rem;
    margin-top: 4px;
    animation: mobileErrorFadeIn 0.3s ease;
    font-weight: 600;
}

@keyframes mobileErrorFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-5px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

.mobile-error-input {
    border-color: #08fcfc !important;
    background: #08fcfc17 !important;
    box-shadow: 0 0 15px #08fcfc40 !important;
}

.mobile-has-value {
    border-color: #ffd700 !important;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2) !important;
}

/* Touch optimizations */
.mobile-form-input,
.mobile-form-select,
.mobile-submit-btn {
    touch-action: manipulation;
}

/* iOS specific styles */
@supports (-webkit-touch-callout: none) {
    .mobile-form-input,
    .mobile-form-select {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Large screens - wider form layout */
@media (min-width: 1200px) {
    .register-form-wrapper {
        max-width: 1100px;
        padding: 50px;
    }
    
    .form-section {
        padding: 40px;
    }
    
    .form-row {
        gap: 40px;
    }
}

/* Tablet screens */
@media (min-width: 769px) and (max-width: 1199px) {
    .register-form-wrapper {
        max-width: 800px;
        padding: 45px;
    }
    
    .form-section {
        padding: 30px;
    }
    
    .form-row {
        gap: 35px;
    }
}

/* Responsive styles for desktop */
@media (max-width: 768px) {
    .register-form-wrapper {
        padding: 30px 20px;
        margin: 10px;
        max-width: 95%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .birth-date-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .register-title h1 {
        font-size: 24px;
    }
    
    .form-input, .form-select, .submit-btn {
        height: 48px;
    }
    
    .form-section {
        padding: 25px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .register-container {
        padding: 15px;
    }
    
    .register-form-wrapper {
        padding: 25px 15px;
    }
}

/* Large mobile/small tablet screens */
@media (min-width: 481px) and (max-width: 768px) {
    .mobile-register-form {
        max-width: 600px;
        padding: 35px 30px;
    }
    
    .mobile-form-section {
        padding: 30px;
    }
    
    .mobile-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Mobile responsive styles */
@media (max-width: 480px) {
    .mobile-register-container {
        padding: 10px;
    }
    
    .mobile-register-form {
        padding: 20px 15px;
        border-radius: 16px;
    }
    
    .mobile-register-title h1 {
        font-size: 20px;
    }
    
    .mobile-register-title p {
        font-size: 13px;
    }
    
    .mobile-form-section {
        padding: 15px 12px;
        margin-bottom: 20px;
    }
    
    .mobile-section-title {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .mobile-form-label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .mobile-form-input,
    .mobile-form-select {
        height: 44px;
        font-size: 14px;
        padding: 0 10px;
        border-radius: 8px;
    }
    
    .mobile-submit-btn {
        height: 46px;
        font-size: 15px;
    }
    
    .mobile-form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }
    
    .mobile-form-group {
        margin-bottom: 10px;
    }
    
    .mobile-birth-date-row {
        gap: 6px;
    }
    
    .mobile-phone-prefix {
        padding: 0 8px;
        font-size: 13px;
    }
    
    .mobile-phone-input {
        padding: 0 10px;
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .mobile-register-form {
        padding: 18px 12px;
    }
    
    .mobile-register-title h1 {
        font-size: 18px;
    }
    
    .mobile-form-section {
        padding: 12px 10px;
    }
    
    .mobile-form-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .mobile-birth-date-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .mobile-form-input,
    .mobile-form-select {
        height: 42px;
    }
}

@media (max-height: 700px) {
    .mobile-register-container {
        padding: 10px;
    }
    
    .mobile-register-form {
        padding: 20px;
    }
    
    .mobile-register-title {
        margin-bottom: 20px;
    }
    
    .mobile-form-section {
        margin-bottom: 20px;
    }
    
    .mobile-form-group {
        margin-bottom: 12px;
    }
}

/* Google reCAPTCHA Badge Gizle */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}