/* ============================================================================
 * TiE Leadership Dashboard - Updated Two-Column Form Design
 * ============================================================================ */

/* Login Page Styles */
.tie-ed-login-wrapper {
	width: 100vw;
    margin-left: calc(-50vw + 50%);
    max-width: 100vw;
    box-sizing: border-box;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #e21e24 0%, #8f0000 100%);
}

.tie-login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 420px;
    width: 100%;
    overflow: hidden;
}

.tie-login-header {
    text-align: center;
    padding: 48px 40px 32px;
    background: linear-gradient(135deg, #e21e24 0%, #8f0000 100%);
    color: white;
}

.tie-logo-badge {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    backdrop-filter: blur(10px);
}

.tie-logo-badge svg {
    color: white;
}

.tie-login-header h2 {
    margin: 0 0 12px 0;
    font-size: 28px;
    color: white;
    font-weight: 700;
}

.tie-login-header p {
    margin: 0;
    font-size: 15px;
    opacity: 0.9;
}

.tie-login-content {
    padding: 40px;
    text-align: center;
}

.tie-login-content .nsl-container {
    margin: 0 !important;
}

.tie-login-footer {
    padding: 24px 40px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.tie-login-footer p {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #6b7280;
}

.tie-login-footer p:last-child {
    margin: 0;
}

.tie-login-footer a {
    color: #e21e24;
    text-decoration: none;
    font-weight: 600;
}

.tie-login-footer a:hover {
    text-decoration: underline;
}


#wpadminbar {display: none !important;}
html {
    margin-top: 0px !important;
}
/* Dashboard Container */
.tie-tie-leadership-v2 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

/* Dashboard Header */
.tie-dashboard-header {
    background: linear-gradient(135deg, #e21e24 0%, #8f0000 100%);
    color: white;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(226, 30, 36, 0.3);
}

.tie-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tie-chapter-badge {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.tie-chapter-badge svg {
    color: white;
}

.tie-dashboard-header h1 {
    margin: 0 0 8px 0;
    font-size: 32px;
    color: white;
    font-weight: 700;
}

.tie-dashboard-header p {
    margin: 0;
    font-size: 15px;
    opacity: 0.9;
}

.tie-logout-link {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.tie-logout-link:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
    color: white;
}

/* Notice Messages */
.tie-notice {
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tie-notice-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.tie-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.tie-notice strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.tie-notice p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Info Card */
.tie-info-card {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 24px;
    border-radius: 12px;
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.tie-info-icon {
    width: 48px;
    height: 48px;
    background: #3b82f6;
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tie-info-content h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #1e3a8a;
}

.tie-info-content p {
    margin: 0;
    font-size: 14px;
    color: #1e40af;
    line-height: 1.6;
}

/* ============================================================================
 * TWO-COLUMN FORM LAYOUT
 * ============================================================================ */

.tie-form-card-v2 {
    background: white;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.tie-custom-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 600px;
}

/* Left Column - Chapter & President Info */
.tie-form-column-left {
    padding: 40px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-right: 2px solid #f3f4f6;
}

/* Right Column - Executive Directors */
.tie-form-column-right {
    padding: 40px;
    background: #ffffff;
}

.tie-form-section {
    margin-bottom: 40px;
}

.tie-form-section:last-child {
    margin-bottom: 0;
}

/* Section Header */
.tie-section-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
}

.tie-section-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e21e24 0%, #8f0000 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tie-section-icon svg {
    color: white;
}

.tie-section-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 4px 0;
}

.tie-section-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* Form Groups */
.tie-form-group {
    margin-bottom: 24px;
}

.tie-form-group:last-child {
    margin-bottom: 0;
}

/* Two-column field rows */
.tie-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.tie-field-row:last-child {
    margin-bottom: 0;
}

.tie-field-row .tie-form-group {
    margin-bottom: 0;
}

.tie-form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tie-label-required {
    color: #e21e24;
    font-size: 16px;
}

.tie-form-group input[type="text"],
.tie-form-group input[type="email"],
.tie-form-group input[type="tel"],
.tie-form-group input[type="url"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
    background: white;
}

.tie-form-group input:focus {
    outline: none;
    border-color: #e21e24;
    box-shadow: 0 0 0 4px rgba(226, 30, 36, 0.1);
}

.tie-form-group input::placeholder {
    color: #9ca3af;
}

.tie-field-hint {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tie-field-hint svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.tie-input-disabled {
    background: #f9fafb !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
}

/* ED2 Expandable Section */
.tie-ed2-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px dashed #e5e7eb;
}

.tie-expand-toggle {
    width: 100%;
    padding: 16px 20px;
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.3s;
}

.tie-expand-toggle:hover {
    background: #fff5f5;
    border-color: #e21e24;
    color: #e21e24;
}

.tie-expand-toggle.tie-expanded {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
    margin-bottom: 24px;
}

.tie-plus-icon {
    transition: transform 0.3s;
    width: 20px;
    height: 20px;
}

.tie-expanded .tie-plus-icon {
    transform: rotate(45deg);
}

.tie-expandable-content {
    display: none;
}

.tie-expanded + .tie-expandable-content {
    display: block;
    animation: slideDown 0.3s ease;
}

/* Submit Button Area */
.tie-form-actions {
    grid-column: 1 / -1;
    padding: 40px;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-top: 3px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.tie-submit-btn {
    width: 100%;
    max-width: 500px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #e21e24 0%, #c41e24 50%, #8f0000 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(226, 30, 36, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.tie-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;
}

.tie-submit-btn:hover::before {
    left: 100%;
}

.tie-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(226, 30, 36, 0.5);
}

.tie-submit-btn:active {
    transform: translateY(-1px);
}

.tie-submit-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.tie-submit-note {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    max-width: 500px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.tie-submit-note svg {
    width: 16px;
    height: 16px;
    color: #3b82f6;
    flex-shrink: 0;
}

/* Error Message */
.tie-error-message {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tie-error-message svg {
    color: #ef4444;
    margin-bottom: 20px;
}

.tie-error-message h3 {
    margin: 0 0 12px 0;
    font-size: 24px;
    color: #1f2937;
}

.tie-error-message p {
    margin: 0;
    font-size: 16px;
    color: #6b7280;
}

/* ============================================================================
 * RESPONSIVE DESIGN
 * ============================================================================ */

@media (max-width: 1024px) {
    .tie-tie-leadership-v2 {
        padding: 30px 15px;
    }
    
    .tie-custom-form {
        grid-template-columns: 1fr;
    }
    
    .tie-form-column-left {
        border-right: none;
        border-bottom: 2px solid #f3f4f6;
    }
    
    .tie-form-column-left,
    .tie-form-column-right {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .tie-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 24px;
    }
    
    .tie-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tie-form-column-left,
    .tie-form-column-right {
        padding: 24px 20px;
    }
    
    .tie-form-actions {
        padding: 24px 20px;
    }
    
    .tie-submit-btn {
        max-width: 100%;
    }
    
    /* Stack field rows on mobile */
    .tie-field-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.tie-submit-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background-color: #f0f7ff;
    border-left: 3px solid #2196F3;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
}

.tie-submit-note svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #2196F3;
}
@media (max-width: 480px) {
    .tie-dashboard-header h1 {
        font-size: 24px;
    }
    
    .tie-section-info h3 {
        font-size: 18px;
    }
    
    .tie-form-column-left,
    .tie-form-column-right {
        padding: 20px 16px;
    }
    
    .tie-submit-btn {
        font-size: 15px;
        padding: 16px 32px;
    }
}

