/* =============================== */
/* DemoBank Currency System Styles  */
/* =============================== */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f8;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Page container */
.currency-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

/* Card */
.currency-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 25px;
}

/* Header */
.currency-card h2 {
    margin-bottom: 20px;
    color: #004080;
    font-weight: 600;
}

/* Table styling */
.currency-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.currency-table th,
.currency-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.currency-table th {
    background-color: #f0f4f8;
    color: #333;
    font-weight: 600;
}

.currency-table tr:hover {
    background-color: #f9fbff;
}

/* Currency badge */
.currency-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background-color: #e6f0ff;
    color: #004080;
}

/* Buttons */
.btn-currency {
    background-color: #004080;
    color: #fff;
    padding: 8px 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn-currency:hover {
    background-color: #0066cc;
}

/* Select dropdown */
.currency-select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-top: 5px;
}

/* Form section */
.currency-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Info box */
.currency-info {
    background: #f7fbff;
    border-left: 4px solid #004080;
    padding: 12px;
    font-size: 13px;
    color: #444;
    margin-bottom: 15px;
}

/* Success / error messages */
.currency-success {
    color: green;
    font-size: 13px;
}

.currency-error {
    color: red;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .currency-container {
        padding: 10px;
    }

    .currency-table th,
    .currency-table td {
        font-size: 13px;
        padding: 8px;
    }
}