/**
 * LeagueTech Registration Page Styles
 * Inherits shared components from shared.css
 */

/* ===== MESSAGE STYLING ===== */
.message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 32px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.message.success {
    background: #dcfce7;
    color: #16a34a;
    border: 2px solid #bbf7d0;
}

.message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 2px solid #fecaca;
}

.message svg {
    flex-shrink: 0;
}

/* ===== REGISTRATION CONTAINER ===== */
.register-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
    position: relative;
}

.register-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a1a1a 0%, #666 100%);
    border-radius: 24px 24px 0 0;
}

/* ===== REGISTRATION HEADER ===== */
.register-header {
    text-align: center;
    margin-bottom: 40px;
}

.register-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.register-subtitle {
    font-size: 16px;
    color: #666;
    font-weight: 400;
    line-height: 1.5;
}

/* ===== FORM LAYOUT ===== */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* ===== FORM ENHANCEMENTS ===== */
.help-text {
    display: block;
    color: #666;
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.4;
}

/* ===== CHECKBOX STYLING ===== */
.checkbox-group {
    margin: 24px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label:hover .checkmark {
    border-color: #1a1a1a;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.checkbox-label a {
    color: #1a1a1a;
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: #000;
}

/* ===== BUTTON ENHANCEMENTS ===== */
.register-container .btn {
    width: 100%;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.register-container .btn svg {
    flex-shrink: 0;
}

/* ===== LINKS SECTION ===== */
.links {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.links a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.links a:hover {
    color: #333;
    text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .register-container {
        margin: 20px;
        padding: 32px 24px;
        max-width: none;
    }
    
    .register-title {
        font-size: 28px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}