/* Global Tradesx — Registration Form (dark / gold theme) */

.gtx-reg-wrapper {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    background: #0a0e18;
}

.gtx-reg-card {
    width: 100%;
    max-width: 440px;
    background: #0d1220;
    border: 1px solid rgba(240, 185, 11, 0.15);
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gtx-reg-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 6px;
    text-align: center;
}

.gtx-reg-subtitle {
    color: #8b93a7;
    font-size: 14px;
    text-align: center;
    margin: 0 0 28px;
}

.gtx-field-group {
    margin-bottom: 18px;
}

.gtx-field-group label {
    display: block;
    color: #c7cddb;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.gtx-required {
    color: #f0b90b;
}

.gtx-field-group input[type="email"],
.gtx-field-group input[type="password"],
.gtx-field-group input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    background: #131a2b;
    border: 1px solid #262f45;
    border-radius: 10px;
    padding: 12px 14px;
    color: #ffffff;
    font-size: 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gtx-field-group input::placeholder {
    color: #5b647a;
}

.gtx-field-group input:focus {
    outline: none;
    border-color: #f0b90b;
    box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.15);
}

.gtx-field-group input.gtx-input-error {
    border-color: #e5484d;
}

.gtx-inline-field {
    display: flex;
    gap: 10px;
}

.gtx-inline-field input {
    flex: 1;
}

.gtx-btn-secondary {
    white-space: nowrap;
    background: transparent;
    border: 1px solid #f0b90b;
    color: #f0b90b;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.gtx-btn-secondary:hover:not(:disabled) {
    background: rgba(240, 185, 11, 0.1);
}

.gtx-btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gtx-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #8b93a7;
}

.gtx-btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #f7cd46, #e5a90f);
    border: none;
    border-radius: 10px;
    padding: 14px;
    color: #1a1300;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: opacity 0.15s ease, transform 0.05s ease;
}

.gtx-btn-primary:hover:not(:disabled) {
    opacity: 0.92;
}

.gtx-btn-primary:active:not(:disabled) {
    transform: translateY(1px);
}

.gtx-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.gtx-login-link {
    text-align: center;
    color: #8b93a7;
    font-size: 13px;
    margin: 18px 0 0;
}

.gtx-login-link a {
    color: #f0b90b;
    text-decoration: none;
}

.gtx-login-link a:hover {
    text-decoration: underline;
}

.gtx-reg-alert {
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    margin-bottom: 20px;
}

.gtx-reg-alert.gtx-alert-error {
    background: rgba(229, 72, 77, 0.12);
    border: 1px solid rgba(229, 72, 77, 0.4);
    color: #ff9fa2;
}

.gtx-reg-alert.gtx-alert-success {
    background: rgba(46, 204, 113, 0.12);
    border: 1px solid rgba(46, 204, 113, 0.4);
    color: #7fe3a5;
}

/* Honeypot field stays invisible to real users, visible to bots that ignore CSS */
.gtx-hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    pointer-events: none;
}
