* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body  { 
    /* font-family: 'Courier New', monospace; */
    font-family: 'Verdana', Arial, sans-serif;
    background: #000000;
    min-height: 100vh;
    color: #ffffff;
}

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
.navbar {
    background: #1a1a1a;
    border-bottom: 2px solid #d4af37;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 1rem;
}

.nav-brand h1 {
    font-size: 1.5rem;
    color: #d4af37;
    margin: 0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.nav-brand-link:hover h1,
.nav-brand-link:hover .nav-logo {
    color: #ffffff;
}

.nav-brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 0.5rem;
}

.nav-logo {
    height: 2rem;
    width: 2rem;
    transition: opacity 0.2s;
    border-radius: 4px;
    flex-shrink: 0;
}

.balance {
    background: #d4af37;
    color: #000000;
    padding: 0.25rem 0.75rem;
    border: 2px solid #ffffff;
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    text-decoration: none;
    color: #d4af37;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #d4af37;
    padding: 0.25rem 0.5rem;
}

.nav-link:hover {
    background: #d4af37;
    color: #000000;
}

.btn-logout {
    background: #000000;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.btn-logout:hover {
    background: #ffffff;
    color: #000000;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem 1rem;
    padding-bottom: 6rem; /* Extra space for fixed bottom nav */
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.admin-main-content {
    flex: 1;
    padding: 2rem 1rem;
    padding-bottom: 6rem;
    max-width: 1200px; /* Wider for admin panel */
    margin: 0 auto;
    width: 100%;
}

/* Bottom Navigation */
.bottom-nav {
    background: #1a1a1a;
    border-top: 2px solid #d4af37;
    display: flex;
    justify-content: space-around;
    padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom)) 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #888888;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem;
    border: 1px solid transparent;
}

.nav-item:hover, .nav-item.active {
    color: #d4af37;
    border: 1px solid #d4af37;
}

.nav-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.nav-icon-svg {
    width: 1.5rem;
    height: 1.5rem;
    margin-bottom: 0.25rem;
    display: block;
    color: #888888;
}

.nav-item:hover .nav-icon-svg,
.nav-item.active .nav-icon-svg {
    color: #d4af37;
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff0000;
    color: #ffffff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: 2px solid #000000;
}

/* Cards */
.card {
    background: #1a1a1a;
    border: 2px solid #d4af37;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.card h2 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

.card h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

/* Buttons */
.btn {
    background: #d4af37;
    color: #000000;
    border: 2px solid #ffffff;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.btn:hover {
    background: #ffffff;
    color: #000000;
    border: 2px solid #d4af37;
}

.btn-secondary {
    background: #666666;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #000000;
}

.btn-danger {
    background: #000000;
    color: #ffffff;
    border: 2px solid #ff0000;
}

.btn-danger:hover {
    background: #ff0000;
    color: #ffffff;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #d4af37;
    background: #000000;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
}

.form-input:focus {
    outline: none;
    border-color: #ffffff;
    background: #1a1a1a;
}

/* Welcome Screen */
.welcome {
    text-align: center;
    padding: 2rem;
}

.welcome h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
    border: 3px solid #d4af37;
    padding: 1rem;
    display: inline-block;
}

.welcome p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Authentication Forms */
.auth-form {
    max-width: 400px;
    margin: 2rem auto;
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border: 2px solid #d4af37;
}

.auth-tab {
    flex: 1;
    background: #000000;
    border: none;
    padding: 0.75rem;
    color: #d4af37;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
    border-right: 1px solid #d4af37;
}

.auth-tab:last-child {
    border-right: none;
}

.auth-tab.active {
    background: #d4af37;
    color: #000000;
}

/* Balance Display */
.balance-display {
    text-align: center;
    margin: 2rem 0;
}

.balance-amount {
    font-size: 4rem;
    font-weight: bold;
    color: #d4af37;
    border: 3px solid #d4af37;
    padding: 1rem;
    display: inline-block;
    min-width: 150px;
}

.balance-label {
    font-size: 1.2rem;
    color: #ffffff;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

/* Transaction List */
.transaction-list {
    margin-top: 1rem;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #d4af37;
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-info {
    flex: 1;
}

.transaction-user {
    font-weight: bold;
    /* color: #d4af37; */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.transaction-message {
    font-size: 0.9rem;
    color: #ffffff;
    margin-top: 0.25rem;
}

.transaction-amount {
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.transaction-amount.positive {
    color: #00ff00;
}

.transaction-amount.negative {
    color: #ff0000;
}

/* User Search */
.user-search {
    position: relative;
    margin-bottom: 1rem;
}

.user-list {
    border: 2px solid #d4af37;
    max-height: 200px;
    overflow-y: auto;
    background: #1a1a1a;
}

.user-item {
    padding: 1rem;
    border-bottom: 1px solid #d4af37;
    cursor: pointer;
    color: #d4af37;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.user-item:hover {
    background: #d4af37;
    color: #000000 !important;
}

.user-item:last-child {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem;
    }
    
    .nav-brand h1 {
        font-size: 1.25rem;
    }
    
    .nav-logo {
        height: 1.5rem;
        width: 1.5rem;
    }
    
    .balance {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
    
    .main-content {
        padding: 1rem;
        padding-bottom: 6rem; /* Maintain bottom spacing on mobile */
    }
    
    .balance-amount {
        font-size: 3rem;
        padding: 0.5rem;
        min-width: 120px;
    }
    
    .card {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .card h2 {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }
    
    .bottom-nav {
        padding: 0.75rem 0 calc(0.75rem + env(safe-area-inset-bottom)) 0;
    }
    
    .nav-item {
        padding: 0.25rem;
        font-size: 0.65rem;
    }
    
    .nav-icon {
        font-size: 1.25rem;
        margin-bottom: 0.125rem;
    }
    
    .nav-icon-svg {
        width: 1.25rem;
        height: 1.25rem;
        margin-bottom: 0.125rem;
    }
    
    /* Admin panel mobile fixes */
    .admin-user-item {
        padding: 0.75rem;
    }
    
    .admin-user-name {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
    
    .admin-user-balance {
        font-size: 1rem;
        letter-spacing: 0.5px;
    }
    
    .admin-stats-box {
        padding: 0.75rem;
    }
    
    .admin-stats-number {
        font-size: 1.5rem;
    }
    
    .admin-stats-label {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
    
    .admin-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.75rem;
    }
    
    .activity-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 0.75rem;
    }
    
    .nav-brand h1 {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .nav-brand {
        gap: 0.5rem;
    }
    
    .balance {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
        letter-spacing: 0.5px;
    }
    
    .main-content {
        padding: 0.75rem;
        padding-bottom: 5.5rem;
    }
    
    .balance-amount {
        font-size: 2.5rem;
        padding: 0.5rem;
        min-width: 100px;
    }
    
    .card {
        padding: 0.75rem;
    }
    
    .card h2 {
        font-size: 1.1rem;
    }
    
    .bottom-nav {
        padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom)) 0;
    }
    
    .nav-item {
        padding: 0.2rem;
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }
    
    .nav-icon {
        font-size: 1.1rem;
    }
    
    .nav-icon-svg {
        width: 1.1rem;
        height: 1.1rem;
    }
    
    /* Ensure viewport fits properly */
    body {
        overflow-x: hidden;
    }
    
    #app {
        width: 100%;
        max-width: 100vw;
    }
    
    .admin-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .activity-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .admin-user-item {
        padding: 0.5rem;
    }
    
    .admin-user-name {
        font-size: 0.8rem;
    }
    
    .admin-user-balance {
        font-size: 0.9rem;
    }
}

/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error Messages */
.error-message {
    background: #000000;
    color: #ff0000;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #ff0000;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.success-message {
    background: #000000;
    color: #00ff00;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #00ff00;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Admin Panel Styles */
.admin-user-item {
    background: #1a1a1a;
    border: 2px solid #d4af37;
    padding: 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.admin-user-item:hover {
    background: #d4af37;
}

.admin-user-name {
    font-weight: bold;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-user-item:hover .admin-user-name {
    color: #000000;
}

.admin-user-info {
    color: #ffffff;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.admin-user-item:hover .admin-user-info {
    color: #000000;
}

.admin-user-balance {
    font-weight: bold;
    color: #d4af37;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-user-item:hover .admin-user-balance {
    color: #000000;
}

.admin-user-id {
    color: #ffffff;
    font-size: 0.8rem;
}

.admin-user-item:hover .admin-user-id {
    color: #000000;
}

.admin-badge {
    background: #d4af37;
    color: #000000;
    padding: 0.125rem 0.25rem;
    font-size: 0.75rem;
    font-weight: bold;
}

.admin-loading {
    text-align: center;
    padding: 2rem;
    color: #ffffff;
}

.admin-stats-box {
    background: #1a1a1a;
    border: 2px solid #d4af37;
    padding: 1rem;
    text-align: center;
}

.admin-stats-number {
    font-size: 2rem;
    font-weight: bold;
    color: #d4af37;
}

.admin-stats-label {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

/* Invite Code Styles */
.invite-item {
    background: #1a1a1a;
    border: 2px solid #d4af37;
    padding: 1rem;
    margin-bottom: 0.5rem;
}

.invite-code {
    font-weight: bold;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.invite-date {
    font-size: 0.9rem;
    color: #ffffff;
    margin-top: 0.25rem;
}

.invite-used-date {
    font-size: 0.9rem;
    color: #ff0000;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.invite-badge-used {
    background: #ff0000;
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #ffffff;
}

.invite-copy-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.invite-loading {
    text-align: center;
    padding: 1rem;
    color: #ffffff;
}

/* Activity Page Styles */
.activity-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.transaction-date {
    font-size: 0.8rem;
    color: #ffffff;
    margin-top: 0.25rem;
}

/* Admin Audit Styles */
.audit-user-select {
    margin-bottom: 1rem;
}

.audit-results {
    margin-top: 1rem;
}

.audit-table-container {
    overflow-x: auto;
    margin-top: 1rem;
    border: 2px solid #d4af37;
}

.audit-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
}

.audit-table th,
.audit-table td {
    padding: 0.75rem 0.5rem;
    text-align: left;
    border-bottom: 1px solid #d4af37;
    word-wrap: break-word;
}

.audit-table th {
    background: #d4af37;
    color: #000000;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.audit-table td {
    color: #ffffff;
}

.audit-table tr:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* Column widths for better layout */
.audit-table th:nth-child(1),
.audit-table td:nth-child(1) { width: 120px; } /* Date */
.audit-table th:nth-child(2),
.audit-table td:nth-child(2) { width: 80px; }  /* Type */
.audit-table th:nth-child(3),
.audit-table td:nth-child(3) { width: 120px; } /* Counterpart */
.audit-table th:nth-child(4),
.audit-table td:nth-child(4) { width: 80px; }  /* Amount */
.audit-table th:nth-child(5),
.audit-table td:nth-child(5) { width: 200px; } /* Message */
.audit-table th:nth-child(6),
.audit-table td:nth-child(6) { width: 60px; }  /* TX ID */
.audit-table th:nth-child(7),
.audit-table td:nth-child(7) { width: 80px; }  /* Actions */

.audit-transaction-sent {
    color: #ff0000;
    font-weight: bold;
}

.audit-transaction-received {
    color: #00ff00;
    font-weight: bold;
}

.audit-select {
    width: 100%;
    max-width: 300px;
}

/* Admin Modal Styles */
.admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    padding: 2rem;
}

.admin-modal-content {
    background: #1a1a1a;
    border: 2px solid #d4af37;
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    max-height: 80vh;
    overflow-y: auto;
}

.admin-modal-content h3 {
    margin-bottom: 1rem;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Audit action buttons */
.audit-delete-btn {
    background: #ff0000;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-family: 'Verdana', Arial, sans-serif;
}

.audit-delete-btn:hover {
    background: #ffffff;
    color: #ff0000;
    border: 1px solid #ff0000;
}

/* PWA Install Prompt Styles */
.pwa-install-prompt {
    position: fixed;
    bottom: 110px; /* Above bottom nav */
    left: 1rem;
    right: 1rem;
    background: #1a1a1a;
    border: 2px solid #d4af37;
    color: #ffffff;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    z-index: 1001;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s ease-out;
    max-width: 400px;
    margin: 0 auto;
}

.pwa-install-prompt.show {
    transform: translateY(0);
    opacity: 1;
}

.pwa-install-prompt.hide {
    transform: translateY(100%);
    opacity: 0;
}

.install-prompt-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.install-prompt-text {
    flex: 1;
}

.install-prompt-title {
    font-weight: bold;
    color: #d4af37;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.install-prompt-subtitle {
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.ios-instructions {
    color: #ffffff;
    font-size: 0.85rem;
    line-height: 1.4;
    background: #000000;
    padding: 0.75rem;
    border: 1px solid #d4af37;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.share-icon {
    color: #d4af37;
    font-weight: bold;
    font-size: 1.1rem;
}

.install-prompt-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.install-btn {
    background: #d4af37;
    color: #000000;
    border: 2px solid #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Verdana', Arial, sans-serif;
    transition: all 0.2s;
    min-width: 80px;
}

.install-btn:hover {
    background: #ffffff;
    color: #000000;
    border-color: #d4af37;
}

.dismiss-btn {
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Verdana', Arial, sans-serif;
    transition: all 0.2s;
    min-width: 80px;
}

.dismiss-btn:hover {
    background: #d4af37;
    color: #000000;
}

/* Mobile optimizations for install prompt */
@media (max-width: 768px) {
    .pwa-install-prompt {
        bottom: 90px;
        left: 0.75rem;
        right: 0.75rem;
    }
    
    .install-prompt-content {
        padding: 1.25rem;
    }
    
    .install-prompt-title {
        font-size: 1rem;
    }
    
    .install-prompt-subtitle {
        font-size: 0.85rem;
    }
    
    .install-btn,
    .dismiss-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
        min-width: 70px;
    }
}

@media (max-width: 480px) {
    .pwa-install-prompt {
        bottom: 85px;
        left: 0.5rem;
        right: 0.5rem;
    }
    
    .install-prompt-content {
        padding: 1rem;
    }
    
    .install-prompt-actions {
        gap: 0.5rem;
    }
    
    .install-btn,
    .dismiss-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    
    .ios-instructions {
        font-size: 0.8rem;
        padding: 0.6rem;
    }
}

/* Notifications Page Styles */
.pending-coin-item,
.sent-coin-item {
    background: #1a1a1a;
    border: 2px solid #d4af37;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.pending-coin-content,
.sent-coin-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.pending-coin-info,
.sent-coin-info {
    flex: 1;
}

.pending-coin-from,
.sent-coin-to {
    font-size: 1rem;
    color: #d4af37;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.pending-coin-message,
.sent-coin-message {
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
    font-style: italic;
}

.pending-coin-expires,
.sent-coin-expires {
    font-size: 0.8rem;
    color: #ffffff;
}

.pending-coin-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.pending-coin-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    min-width: 70px;
}

.notification-item {
    background: #1a1a1a;
    border: 2px solid #666666;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.notification-item.unread {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-size: 1rem;
    color: #d4af37;
    font-weight: bold;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.notification-message {
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.notification-date {
    font-size: 0.8rem;
    color: #888888;
}

.notification-mark-read {
    background: #d4af37;
    color: #000000;
    border: 1px solid #ffffff;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-family: 'Verdana', Arial, sans-serif;
    border-radius: 2px;
    flex-shrink: 0;
    align-self: flex-start;
}

.notification-mark-read:hover {
    background: #ffffff;
    color: #000000;
    border-color: #d4af37;
}

/* Toast notifications */
.toast {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile optimizations for notifications */
@media (max-width: 768px) {
    .pending-coin-content,
    .sent-coin-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .pending-coin-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .notification-item {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .notification-mark-read {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .pending-coin-item,
    .sent-coin-item,
    .notification-item {
        padding: 0.75rem;
    }
    
    .pending-coin-from,
    .sent-coin-to,
    .notification-title {
        font-size: 0.9rem;
    }
    
    .pending-coin-message,
    .sent-coin-message,
    .notification-message {
        font-size: 0.8rem;
    }
    
    .pending-coin-actions .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        min-width: 60px;
    }
}
