/* Apple-inspired Minimalist UI */
.manus-crm-login-container, .manus-crm-dashboard-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1d1d1f;
    background-color: #f5f5f7;
    min-height: 400px;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.apple-login-box {
    background: #fff;
    padding: 48px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.apple-logo {
    margin-bottom: 24px;
    color: #000;
}

.apple-login-box h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: -0.015em;
}

.input-group {
    margin-bottom: 12px;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 17px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.input-group input:focus {
    border-color: #0071e3;
}

.apple-btn {
    width: 100%;
    padding: 14px;
    background-color: #0071e3;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.2s;
}

.apple-btn:hover {
    background-color: #0077ed;
}

.login-footer {
    margin-top: 24px;
}

.login-footer a {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
}

/* Dashboard Styles */
.manus-crm-dashboard-container.apple-style {
    display: block;
    width: 100%;
    max-width: 1400px;
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.dashboard-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}

.subtitle {
    color: #86868b;
    font-size: 17px;
    margin-top: 4px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.apple-btn-outline {
    background: #fff;
    border: 1px solid #0071e3;
    color: #0071e3;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.apple-btn-outline:hover {
    background: #0071e3;
    color: #fff;
}

.logout-link {
    color: #ff3b30;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.dashboard-filters {
    margin-bottom: 24px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
    margin-right: 12px;
}

.filter-group select {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #d2d2d7;
    background: #fff;
    font-size: 14px;
    outline: none;
}

.dashboard-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.apple-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.apple-table th {
    padding: 12px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #f5f5f7;
    white-space: nowrap;
}

.apple-table td {
    padding: 12px 10px;
    font-size: 13px;
    border-bottom: 1px solid #f5f5f7;
    white-space: nowrap;
}

.apple-table tr:last-child td {
    border-bottom: none;
}

.badge {
    background: #f5f5f7;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #1d1d1f;
}

.empty-msg {
    text-align: center;
    padding: 60px !important;
    color: #86868b;
    font-style: italic;
}
