/**
 * Customer Registration Form Styles - Dark Mode
 */

/* Force dark background regardless of theme */
body.page-template-page-register {
    background-color: #1a1a1a !important;
    color: #8cf08c !important;
}

.page-content {
    background-color: #1a1a1a !important;
}

.gsl-register-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.gsl-register-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 1px solid rgba(126, 199, 255, 0.2);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.gsl-register-header {
    text-align: center;
    margin-bottom: 32px;
}

.gsl-register-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: #7ec7ff;
    margin: 0 0 8px 0;
}

.gsl-register-header p {
    font-size: 16px;
    color: #8a8a8a;
    margin: 0;
}

.gsl-register-form {
    max-width: 100%;
}

.gsl-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}

.gsl-form-group {
    margin-bottom: 24px;
}

.gsl-form-half {
    margin-bottom: 0;
}

.gsl-form-group label {
    display: block;
    font-weight: 600;
    color: #8cf08c;
    margin-bottom: 8px;
    font-size: 14px;
}

.gsl-form-group .required {
    color: #7ec7ff;
}

.gsl-form-group input[type="text"],
.gsl-form-group input[type="email"],
.gsl-form-group input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(126, 199, 255, 0.3);
    border-radius: 8px;
    font-size: 15px;
    color: #8cf08c;
    transition: all 0.2s;
    box-sizing: border-box;
}

.gsl-form-group input:focus {
    outline: none;
    border-color: #7ec7ff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 2px rgba(126, 199, 255, 0.2);
}

.gsl-form-group small {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #8a8a8a;
}

.gsl-password-strength {
    margin-top: 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gsl-password-strength .dot {
    width: 24px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    transition: background 0.3s;
}

.gsl-password-strength .dot.filled {
    background: currentColor;
}

.gsl-password-strength.weak { color: #ff8c69; }
.gsl-password-strength.medium { color: #FFD400; }
.gsl-password-strength.strong { color: #8cf08c; }

.gsl-checkbox {
    display: flex;
    align-items: start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #8a8a8a;
}

.gsl-checkbox input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #7ec7ff;
}

.gsl-checkbox a {
    color: #7ec7ff;
    text-decoration: none;
}

.gsl-checkbox a:hover {
    text-decoration: underline;
}

.gsl-form-actions {
    margin-top: 32px;
}

.gsl-btn-primary {
    width: 100%;
    padding: 14px 24px;
    background: #7ec7ff;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.gsl-btn-primary:hover:not(:disabled) {
    background: #4a9fd8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(126, 199, 255, 0.3);
}

.gsl-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: #444;
}

.gsl-register-footer {
    margin-top: 20px;
    text-align: center;
}

.gsl-register-footer p {
    color: #8a8a8a;
}

.gsl-register-footer a {
    color: #7ec7ff;
    text-decoration: none;
    font-weight: 600;
}

/* Benefits Section */
.gsl-register-benefits {
    padding: 40px;
    color: #8cf08c;
}

.gsl-register-benefits h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #7ec7ff;
}

.gsl-register-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gsl-register-benefits li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-left: 24px;
    position: relative;
}

.gsl-register-benefits li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background: #7ec7ff;
    border-radius: 50%;
}

.gsl-register-benefits .benefit-content {
    flex: 1;
}

.gsl-register-benefits strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
    color: #7ec7ff;
}

.gsl-register-benefits p {
    margin: 0;
    font-size: 14px;
    color: #8a8a8a;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .gsl-register-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gsl-form-row {
        grid-template-columns: 1fr;
    }
    
    .gsl-register-benefits {
        padding: 20px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 12px;
    }
}
