:root {
    --bg-color: #f4f6fa;
    --card-bg: #ffffff;
    --primary: #0b57d0;
    --primary-hover: #0842a0;
    --text-main: #191c20;
    --text-secondary: #5f6368;
    --border-color: #e3e6ed;
    --danger: #d93025;
    --success: #10b981;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.dev-banner {
    background: linear-gradient(135deg, #0b57d0, #1d4ed8);
    color: white;
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(11, 87, 208, 0.15);
}

.dev-banner .heart {
    color: #ff6b6b;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.container {
    max-width: 650px;
    margin: 24px auto;
    padding: 28px;
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.app-header {
    text-align: center;
    margin-bottom: 28px;
}

.app-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.app-header p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
    font-weight: 400;
}

.auth-tabs {
    display: flex;
    background: #edf1f7;
    border-radius: var(--radius-md);
    padding: 5px;
    margin-bottom: 24px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn.active {
    background: var(--card-bg);
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* Total Summary Card Styles */
.total-summary-card {
    background: linear-gradient(135deg, #0b57d0, #1d4ed8);
    color: white;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(11, 87, 208, 0.25);
}

.summary-label {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.total-summary-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 4px 0 0 0;
}

.summary-icon {
    font-size: 32px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px;
    border-radius: var(--radius-md);
}

.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    margin-left: 4px;
}

.input-group input, .filter-container input {
    width: 100%;
    padding: 15px 18px;
    background: #f8f9fc;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--text-main);
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
}

.input-group input:focus, .filter-container input:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(11, 87, 208, 0.12);
}

.samsung-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 20px rgba(11, 87, 208, 0.25);
    margin-top: 10px;
}

.samsung-btn:active {
    transform: scale(0.98);
}

.samsung-btn:hover {
    background: var(--primary-hover);
}

.samsung-card {
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.samsung-card h2 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 16px;
    font-weight: 600;
}

.user-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #edf1f7;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
}

.logout-btn {
    background: #fde8e8;
    color: var(--danger);
    border: none;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.logout-btn:hover {
    background: var(--danger);
    color: white;
}

.install-btn {
    background: var(--success);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.pdf-btn {
    background: #7c3aed;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.pdf-btn:hover {
    background: #6d28d9;
}

.table-container {
    overflow-x: auto;
    margin-top: 14px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 14px 10px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

th {
    font-weight: 600;
    color: var(--text-secondary);
    background: #f8f9fc;
}

.action-btns {
    display: flex;
    gap: 6px;
}

.edit-btn {
    background: #e0f2fe;
    color: #0284c7;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.edit-btn:hover {
    background: #0284c7;
    color: white;
}

.delete-btn {
    background: #fde8e8;
    color: var(--danger);
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.delete-btn:hover {
    background: var(--danger);
    color: white;
}
