body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #121212; 
    color: #e0e0e0; 
    padding: 20px;
}

.app-container {
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: #ffffff;
    font-family: 'Playfair Display', serif; 
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.logo-title {
    text-align: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 3.2rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.subtitle-small {
    text-align: center;
    color: #3498db;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    text-transform: capitalize;
    font-style: italic;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 5px;
}

.subtitle {
    text-align: center;
    color: #aaaaaa;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 35px;
    letter-spacing: 0.5px;
}

.search-section {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

input {
    padding: 10px;
    font-size: 16px;
    width: 60%;
    background-color: #2a2a2a;
    color: #ffffff;
    border: 1px solid #444;
    border-radius: 5px;
    text-transform: uppercase;
}

input::placeholder {
    color: #888;
    text-transform: none;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #2980b9;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #3498db;
}

.hidden {
    display: none !important;
}

.archive-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.archive-label {
    font-size: 0.9rem;
    color: #888;
}

.archive-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.archive-btn {
    background-color: #1e1e1e;
    color: #3498db;
    border: 1px solid #333;
    padding: 4px 12px;
    font-size: 0.85rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.archive-btn:hover {
    background-color: #2a2a2a;
    border-color: #3498db;
}

.card {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    border: 1px solid #333;
}

.hero-card, .summary-card {
    border-top: 5px solid #2980b9;
}

h2 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #ffffff;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

h3, h4 {
    color: #ffffff;
}

#loadingContainer {
    text-align: center;
    margin: 40px 0;
}

.slow-spinner {
    border: 5px solid #333;
    border-top: 5px solid #2980b9;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 3s linear infinite;
    margin: 0 auto;
}

.loading-text {
    margin-top: 20px;
    font-weight: bold;
    color: #aaa;
    font-size: 1.1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.projections-dropdown {
    background-color: #2a2a2a;
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid #444;
}

summary {
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    color: #3498db;
    outline: none;
}

.dropdown-content {
    margin-top: 15px;
}

.disclaimer-text {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 15px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 450px; 
}

th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #444;
}

th {
    background-color: #1a1a1a;
    color: #ffffff;
}

td {
    background-color: #1e1e1e;
}

.assumptions-box {
    background-color: #1a1a1a;
    padding: 15px;
    border-left: 4px solid #e67e22;
    border-radius: 4px;
}

.assumptions-box ul {
    margin: 0;
    padding-left: 20px;
}

.summary-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.tile {
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
}

.tile-title {
    font-size: 0.75rem;
    color: #aaa;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tile-value {
    font-size: 1.15rem;
    font-weight: bold;
    color: #ffffff;
}

.projection-note {
    background-color: #1a1a1a;
    border-left: 4px solid #3498db;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    border-radius: 0 4px 4px 0;
}
.quick-account-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: transparent;
    border: 1px solid #3498db;
    color: #3498db;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
}
.quick-account-btn:hover {
    background-color: #3498db;
    color: white;
}
.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-content {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    border: 1px solid #333;
    text-align: center;
}
.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #888;
    cursor: pointer;
}
.close:hover { color: white; }
.modal-subtitle {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 25px;
}
.input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
.input-group input {
    width: 100%;
    text-transform: none;
}
.input-group #pinInput {
    width: 100px;
}
.hyphen {
    color: #888;
    font-weight: bold;
}
.live-preview {
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.modal-footer-text {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 20px;
}
.account-error {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.85rem;
}
.submit-account-btn {
    width: 100%;
    background-color: #3498db;
    border: none;
    padding: 12px;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}
.submit-account-btn:hover {
    background-color: #2980b9;
}


#usernameInput {
    text-transform: lowercase;
}

