.app-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.loading-overlay {
    position: relative;
    z-index: 1;
}

.loading-content {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Account Selection Screen */
.header {
    text-align: center;
    padding: 40px 20px;
    background: #000;
    border-bottom: 1px solid #333;
}

.app-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
}

.app-subtitle {
    font-size: 16px;
    color: #888;
    margin: 0;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.account-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.account-card:hover {
    background: #222;
    border-color: #555;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.account-card-all {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #444;
}

.account-card-all:hover {
    background: linear-gradient(135deg, #222 0%, #333 100%);
    border-color: #666;
}

.account-icon {
    color: #888;
    margin-bottom: 15px;
}

.account-card:hover .account-icon {
    color: #fff;
}

.account-name {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.account-status {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.account-arrow {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    color: #555;
    transition: all 0.3s ease;
}

.account-card:hover .account-arrow {
    color: #fff;
    transform: translateX(5px);
}

.quick-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: #222;
    border-color: #555;
    transform: translateY(-2px);
}

.quick-link span {
    font-size: 18px;
}

.footer {
    text-align: center;
    padding: 30px 20px;
    background: #000;
    border-top: 1px solid #333;
    color: #888;
    font-size: 14px;
}

.footer p {
    margin: 5px 0;
}

.api-status {
    margin-top: 10px;
}

.error-container {
    max-width: 500px;
    margin: 100px auto;
    padding: 40px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    text-align: center;
}

.error-container h2 {
    color: #ef4444;
    margin: 0 0 20px 0;
}

.error-container p {
    color: #888;
    margin: 0 0 30px 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}