/* Common Styles */
.cat-notice {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.cat-notice.error {
    background-color: #fef1f1;
    border: 1px solid #dc3232;
    color: #8a1f11;
}

.cat-notice.success {
    background-color: #ecf8e6;
    border: 1px solid #2fb344;
    color: #1a472a;
}

.cat-loading {
    text-align: center;
    padding: 1rem;
    color: #666;
}

/* Dashboard Styles */
.cat-dashboard-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.cat-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.cat-balance-summary {
    display: flex;
    gap: 2rem;
}

.cat-balance-summary .label {
    font-weight: 600;
    color: #666;
}

.cat-balance-summary .value {
    font-size: 1.2em;
    font-weight: 700;
    color: #333;
}

.cat-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.cat-dashboard-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.cat-dashboard-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.2em;
}

/* Wallet Styles */
.cat-wallet-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.cat-wallet-summary {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.cat-wallet-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.cat-action-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.cat-address-container {
    display: flex;
    gap: 0.5rem;
}

.cat-copy-button {
    padding: 0.5rem 1rem;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.cat-copy-button:hover {
    background: #e0e0e0;
}

/* History Styles */
.cat-history-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.cat-history-filters {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.cat-history-filters form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.cat-history-table-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    overflow-x: auto;
}

.cat-history-table {
    width: 100%;
    border-collapse: collapse;
}

.cat-history-table th,
.cat-history-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cat-history-table th {
    background: #f8f8f8;
    font-weight: 600;
}

.cat-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

/* Settings Styles */
.cat-settings-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.cat-settings-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.cat-exchange-settings {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.cat-exchange-settings:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cat-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cat-balance-summary {
        flex-direction: column;
        gap: 1rem;
    }

    .cat-history-filters form {
        grid-template-columns: 1fr;
    }
}

/* Form Elements */
.cat-form .form-group {
    margin-bottom: 1rem;
}

.cat-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.cat-form input[type="text"],
.cat-form input[type="password"],
.cat-form input[type="number"],
.cat-form input[type="date"],
.cat-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.cat-form input[type="checkbox"] {
    margin-right: 0.5rem;
}

.cat-submit-button {
    background: #2271b1;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cat-submit-button:hover {
    background: #135e96;
}

.cat-submit-button:disabled {
    background: #999;
    cursor: not-allowed;
} 