/* TR Register Only - Admin Styles */

.tr-ro-wrap {
    max-width: 800px;
}

.tr-ro-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 24px 28px;
    border-radius: 8px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.tr-ro-header h1 {
    color: #fff;
    font-size: 24px;
    margin: 0 0 6px;
    padding: 0;
    border: none;
}

.tr-ro-header p {
    margin: 0;
    opacity: 0.8;
    font-size: 14px;
}

.tr-ro-version {
    font-size: 13px;
    background: rgba(255,255,255,0.15);
    padding: 2px 8px;
    border-radius: 20px;
    vertical-align: middle;
    font-weight: normal;
}

.tr-ro-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.tr-ro-card h2 {
    margin: 0 0 16px;
    padding: 0 0 12px;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #1d2327;
}

.tr-ro-card .form-table {
    margin-top: 0;
}

.tr-ro-card .form-table th {
    width: 200px;
    padding: 12px 10px 12px 0;
    font-weight: 500;
    color: #3c434a;
}

.tr-ro-card .form-table td {
    padding: 10px 0;
}

.tr-ro-info {
    background: #f0f7ff;
    border-color: #b8d9f7;
}

.tr-ro-info ul {
    margin: 0;
    list-style: disc;
    padding-left: 20px;
}

.tr-ro-info ul li {
    margin-bottom: 6px;
    color: #3c434a;
    font-size: 13px;
}

/* Toggle Switch */
.tr-ro-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    vertical-align: middle;
    margin-right: 8px;
}

.tr-ro-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.tr-ro-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #ccc;
    border-radius: 26px;
    transition: 0.3s;
}

.tr-ro-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.tr-ro-toggle input:checked + .tr-ro-slider {
    background: #0073aa;
}

.tr-ro-toggle input:checked + .tr-ro-slider:before {
    transform: translateX(22px);
}

/* Submit button area */
.tr-ro-wrap .submit {
    padding: 10px 0 20px;
}

.tr-ro-wrap .submit .button-primary {
    background: #0f3460;
    border-color: #0a2440;
    font-size: 14px;
    padding: 6px 20px;
    height: auto;
}

.tr-ro-wrap .submit .button-primary:hover {
    background: #1a4a80;
    border-color: #0f3460;
}

/* -----------------------------------------------
   WCA Promo Banner
----------------------------------------------- */
.tr-ro-promo {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #0f3460 0%, #1a5276 60%, #0e6655 100%);
    border-radius: 8px;
    padding: 14px 18px;
    text-decoration: none;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 8px rgba(15,52,96,0.25);
}

.tr-ro-promo:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(15,52,96,0.35);
    color: #fff;
}

.tr-ro-promo::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 100px; height: 100px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.tr-ro-promo-badge {
    position: absolute;
    top: 8px; right: 14px;
    font-size: 10px;
    font-weight: 600;
    background: rgba(255,215,0,0.25);
    color: #ffd700;
    padding: 2px 7px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.tr-ro-promo-icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tr-ro-promo-text {
    flex: 1;
    line-height: 1;
}

.tr-ro-promo-text strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
}

.tr-ro-promo-text span {
    font-size: 11px;
    opacity: 0.75;
    color: #fff;
}

.tr-ro-promo-cta {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    background: rgba(255,255,255,0.15);
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    transition: background 0.15s;
}

.tr-ro-promo:hover .tr-ro-promo-cta {
    background: rgba(255,255,255,0.25);
}
