/*
 * Styles for Crypto Investment Fund Plugin
 */

.cif-dashboard {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    margin: 20px auto;
}

.cif-balance-box {
    background-color: #005a9c; /* Dark Blue */
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 25px;
}

.cif-balance-box h4 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    font-weight: normal;
}

.cif-balance-box p {
    margin: 0;
    font-size: 2.5em;
    font-weight: bold;
}

.cif-section {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cif-section:last-child {
    border-bottom: none;
}

.cif-notice {
    background-color: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 10px;
    font-style: italic;
}

.cif-table {
    width: 100%;
    border-collapse: collapse;
}

.cif-table th, .cif-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.cif-table th {
    background-color: #f2f2f2;
}

.cif-profit {
    color: #2e7d32; /* Green */
    font-weight: bold;
}

.cif-loss {
    color: #c62828; /* Red */
}

.cif-button {
    background-color: #0073aa;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.cif-button:hover {
    background-color: #005a9c;
}

/* ADDED: Styles for QR Code and Address Input */
#cif-qrcode-display {
    margin: 15px auto;
    width: 180px; /* Should match the JS width */
    height: 180px; /* Should match the JS height */
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#cif-qrcode-display img {
    display: block;
    margin: 0 auto;
}

.cif-address-input {
    width: 100%;
    text-align: center;
    padding: 8px;
    font-family: monospace;
    font-size: 1.1em;
    background-color: #efefef;
    border: 1px solid #ccc;
    margin-top: 10px;
}