/* Dashboard Wrapper */
#sym-dashboard-root {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    
    /* Dimensions */
    width: 1200px !important;
    max-width: 95vw !important;
    
    /* Breakout & Centering */
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    
    /* Reset Margins */
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 20px;
    margin-bottom: 20px;
    
    overflow: hidden;
    box-sizing: border-box !important;
}

/* Header & Navigation */
.sym-dash-header {
    background: #f8fafc;
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sym-dash-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}
.sym-dash-user-section {
    display: flex;
    align-items: center;
    gap: 15px;
}
.sym-dash-user {
    font-size: 0.9rem;
    color: #64748b;
}
.sym-btn-logout {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.2s;
}
.sym-btn-logout:hover {
    background: #f1f5f9;
    color: #334155;
    border-color: #94a3b8;
}

/* Tabs */
.sym-dash-tabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}
.sym-dash-tab {
    padding: 15px 25px;
    cursor: pointer;
    font-weight: 600;
    color: #64748b;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
.sym-dash-tab:hover {
    color: #334155;
    background: #f8fafc;
}
.sym-dash-tab.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

/* Content Area */
.sym-dash-content {
    padding: 20px;
    min-height: 300px;
}

/* Grid for Forms */
.sym-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.sym-form-full {
    grid-column: 1 / -1;
}

.sym-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sym-form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}
.sym-form-input {
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}
.sym-form-input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.sym-form-input[readonly] {
    background: #f1f5f9;
    color: #64748b;
}

/* Buttons */
.sym-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.sym-btn-primary {
    background: #2563eb;
    color: #fff;
}
.sym-btn-primary:hover {
    background: #1d4ed8;
}
.sym-btn-primary:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.sym-btn-outline {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
}
.sym-btn-outline:hover {
    background: #f1f5f9;
    color: #334155;
}

/* Ticket Cards */
.sym-ticket-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}
.sym-ticket-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: box-shadow 0.2s;
    border-left: 4px solid #2563eb;
}
.sym-ticket-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.sym-ticket-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #1e293b;
}
.sym-ticket-meta {
    font-size: 0.9rem;
    color: #64748b;
    display: flex;
    gap: 15px;
}
.sym-ticket-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}
.status-approved { background: #dcfce7; color: #166534; }
.status-pending { background: #fef9c3; color: #854d0e; }
.status-canceled { background: #fee2e2; color: #991b1b; }

/* Notifications */
.sym-notice {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.notice-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.notice-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Loader */
.sym-loader {
    text-align: center;
    padding: 40px;
    color: #64748b;
}

/* Mobile Response */
@media (max-width: 768px) {
    .sym-form-grid {
        grid-template-columns: 1fr;
    }
    .sym-ticket-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .sym-ticket-actions {
        width: 100%;
    }
    .sym-ticket-actions button {
        width: 100%;
    }
    .sym-dash-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Login Form Styles */
.sym-login-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    max-width: 450px;
    margin: 40px auto;
    padding: 40px;
    box-sizing: border-box;
}

.sym-login-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
}

.sym-login-wrapper p {
    color: #64748b;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Target WP Login Form */
.sym-login-wrapper #loginform {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sym-login-wrapper .login-username,
.sym-login-wrapper .login-password {
    margin-bottom: 0;
}

.sym-login-wrapper label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    display: block;
    margin-bottom: 8px;
}

.sym-login-wrapper input[type="text"],
.sym-login-wrapper input[type="password"],
.sym-login-wrapper input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.sym-login-wrapper input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.sym-login-wrapper .login-submit {
    margin-top: 10px;
}

.sym-login-wrapper input[type="submit"] {
    display: block;
    width: 100% !important;
    padding: 12px 24px;
    background: #2563eb !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-sizing: border-box;
    height: auto;
    line-height: 1.5;
    text-transform: none;
    text-shadow: none;
}

.sym-login-wrapper input[type="submit"]:hover {
    background: #1d4ed8;
}

/* Links (Lost Password etc) */
.sym-login-wrapper .login-remember,
.sym-login-wrapper p:not(:first-of-type) {
    font-size: 0.9rem;
    color: #64748b;
}

.sym-login-wrapper a {
    color: #2563eb;
    text-decoration: none;
}

.sym-login-wrapper a:hover {
    text-decoration: underline;
}
