/* Main container */
.expense-tracker-dashboard,
.expense-tracker-transactions,
.expense-tracker-analytics,
.expense-tracker-settings {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Header */
.et-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Cards */
.et-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.et-card h3 {
    margin-top: 0;
    color: #333;
}

/* Summary cards */
.et-summary-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.et-summary-cards .et-card {
    text-align: center;
    padding: 15px;
}

.et-amount {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* Rows and columns */
.et-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.et-col {
    padding: 0 10px;
    box-sizing: border-box;
}

.et-col-12 { width: 100%; }
.et-col-8 { width: 66.66%; }
.et-col-6 { width: 50%; }
.et-col-4 { width: 33.33%; }

/* Tables */
.et-transactions-table {
    width: 100%;
    border-collapse: collapse;
}

.et-transactions-table th,
.et-transactions-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.et-transactions-table th {
    background: #f9f9f9;
    font-weight: 600;
}

/* Category badges */
.et-category-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
}

/* Alerts */
.et-alert {
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.et-alert.et-success {
    background: #d4edda;
    color: #155724;
}

.et-alert.et-error {
    background: #f8d7da;
    color: #721c24;
}

/* Charts */
.et-chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Percentage bars */
.et-percentage-bar-container {
    width: 100%;
    background: #f5f5f5;
    height: 20px;
    border-radius: 3px;
    position: relative;
}

.et-percentage-bar {
    height: 100%;
    border-radius: 3px;
    background: #4CAF50;
}

.et-percentage-bar-container span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: #333;
}

/* Gmail connection */
.et-gmail-connection {
    text-align: center;
    padding: 20px 0;
}

.et-connected .dashicons,
.et-not-connected .dashicons {
    font-size: 20px;
    vertical-align: middle;
}

.et-connected .dashicons {
    color: #46b450;
}

.et-not-connected .dashicons {
    color: #dc3232;
}

/* Category list */
#et-categories-list ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

#et-categories-list li {
    display: inline-block;
    margin: 0 10px 10px 0;
}

/* Add category form */
.et-add-category {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.et-add-category input[type="text"] {
    flex: 1;
    padding: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .et-summary-cards {
        grid-template-columns: 1fr;
    }
    
    .et-col-6, .et-col-8, .et-col-4 {
        width: 100%;
    }
}