:root {
    --usa-red: #BF0A30;
    --usa-blue: #002868;
    --usa-gray: #666666;
    --usa-light-gray: #F5F5F5;
    --usa-lighter-blue: #0A3161;
    --usa-darker-blue: #001f4d;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --hover-shadow: 0 4px 12px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --primary-color: #1a73e8;
    --primary-color-dark: #1557b0;
    --primary-color-rgb: 26, 115, 232;
    --accent-color: #34a853;
    --accent-color-dark: #2d8745;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --border-color: #dadce0;
    --card-bg: #ffffff;
    --button-bg: #f8f9fa;
    --button-hover-bg: #f1f3f4;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 4px 8px rgba(0, 0, 0, 0.1);
    --input-bg: #ffffff;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--usa-light-gray);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--usa-blue);
    border-radius: 6px;
    border: 3px solid var(--usa-light-gray);
    transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--usa-red);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--usa-blue) var(--usa-light-gray);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body {
    background: #f8f9fa;
    color: #333;
    font-family: 'Source Sans Pro', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: calc(100vh - 140px); /* Account for header and footer */
}

/* Header Styles */
header {
    background: white;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #ddd;
}

.header-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.seal {
    width: 65px;
    height: 65px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
    transition: var(--transition);
}

.seal:hover {
    transform: scale(1.05);
}

.header-text {
    display: flex;
    flex-direction: column;
}

.header-text h1 {
    color: var(--usa-blue);
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.header-text p {
    margin: 4px 0 0;
    font-size: 0.95rem;
    color: var(--usa-gray);
}

/* Dashboard Container */
.dashboard-container {
    flex: 1;
    display: flex;
    padding: 1.5rem;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    min-height: calc(100vh - 200px); /* Account for header, footer, and padding */
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    flex-shrink: 0;
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid #ddd;
    height: fit-content;
    position: sticky;
    top: 100px;
}

/* User Profile */
.user-profile {
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--usa-light-gray);
    text-align: center;
}

.user-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin-bottom: 1.2rem;
    border: 4px solid var(--usa-blue);
    box-shadow: var(--shadow);
    transition: var(--transition);
    object-fit: cover;
}

.user-avatar:hover {
    transform: scale(1.02);
    border-color: var(--usa-red);
}

.user-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--usa-blue);
    margin-bottom: 0.6rem;
}

.user-role {
    color: var(--usa-gray);
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    background: var(--usa-light-gray);
    border-radius: 20px;
    display: inline-block;
    font-weight: 500;
}

/* Navigation Menu */
.nav-menu {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    color: var(--usa-gray);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    font-weight: 500;
}

.nav-item i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
}

.nav-item:hover {
    background: var(--usa-light-gray);
    color: var(--usa-blue);
    transform: translateX(5px);
}

.nav-item.active {
    background: var(--usa-blue);
    color: white;
    box-shadow: var(--shadow);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
    max-width: 1200px;
    padding: 1.5rem;
    margin: 0 auto;
    width: 100%;
}

/* Welcome Section */
.welcome-section {
    background: white;
    border-radius: 8px;
    padding: 1.8rem;
    box-shadow: var(--shadow);
    border: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-text {
    color: var(--usa-blue);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 1.8rem;
    box-shadow: var(--shadow);
    border: 1px solid #ddd;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
    border-color: var(--usa-blue);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--usa-light-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--usa-blue);
    font-size: 1.4rem;
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--usa-blue);
    margin-bottom: 0.3rem;
}

.stat-label {
    color: var(--usa-gray);
    font-size: 0.95rem;
    font-weight: 500;
}

/* TRUMP Coin Balance */
.coin-balance {
    background: white;
    border-radius: 8px;
    padding: 1.8rem;
    box-shadow: var(--shadow);
    border: 1px solid #ddd;
    margin-bottom: 1.8rem;
}

.coin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.coin-title {
    color: var(--usa-blue);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.coin-title i {
    color: var(--usa-red);
}

.coin-amount {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--usa-blue);
    text-align: center;
    margin-bottom: 1.5rem;
    font-family: 'Source Code Pro', monospace;
}

.coin-actions {
    display: flex;
    gap: 1rem;
}

.coin-btn {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.coin-btn.send {
    background: var(--usa-light-gray);
    color: var(--usa-blue);
}

.coin-btn.receive {
    background: var(--usa-blue);
    color: white;
}

.coin-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.coin-btn.send:hover {
    background: var(--usa-gray);
    color: white;
}

.coin-btn.receive:hover {
    background: var(--usa-darker-blue);
}

/* Wallet Info */
.wallet-info {
    background: linear-gradient(145deg, var(--usa-light-gray) 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 1.8rem;
    margin: 1.5rem 0;
    border: 1px solid #e0e0e0;
}

.address-label {
    color: var(--usa-gray);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.address-label i {
    color: var(--usa-blue);
    font-size: 1rem;
}

.wallet-address {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    border: 2px solid var(--usa-blue);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.wallet-address:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-2px);
}

.address-value {
    font-family: 'Source Code Pro', monospace;
    color: var(--usa-blue);
    font-size: 1.1rem;
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: all;
    letter-spacing: 0.5px;
}

.copy-btn {
    background: var(--usa-light-gray);
    border: none;
    color: var(--usa-blue);
    cursor: pointer;
    padding: 0.6rem;
    border-radius: 6px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    min-width: 100px;
}

.copy-btn i {
    font-size: 1.1rem;
}

.copy-btn:hover {
    background: var(--usa-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.copy-btn:active {
    transform: translateY(0);
}

/* Recent Activity */
.recent-activity {
    background: white;
    border-radius: 8px;
    padding: 1.8rem;
    box-shadow: var(--shadow);
    border: 1px solid #ddd;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.activity-header h3 {
    color: var(--usa-blue);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.action-btn {
    padding: 0.6rem 1.2rem;
    background: var(--usa-light-gray);
    color: var(--usa-blue);
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn:hover {
    background: var(--usa-blue);
    color: white;
    transform: translateY(-2px);
}

.activity-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem;
    background: var(--usa-light-gray);
    border-radius: 8px;
    transition: var(--transition);
}

.activity-item:hover {
    transform: translateX(5px);
    background: white;
    box-shadow: var(--shadow);
    border: 1px solid var(--usa-blue);
}

.activity-icon {
    width: 42px;
    height: 42px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--usa-blue);
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.activity-info {
    flex: 1;
}

.activity-title {
    color: var(--usa-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.activity-time {
    color: var(--usa-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity-time::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--usa-blue);
    border-radius: 50%;
}

/* Footer */
footer {
    background: white;
    padding: 1.2rem 0;
    border-top: 1px solid #ddd;
    margin-top: auto;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.footer-left, .footer-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--usa-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--usa-blue);
}

.developer-credit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--usa-gray);
}

.developer-credit i {
    color: #5865F2;
}

.developer-credit a {
    color: var(--usa-blue);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.developer-credit a:hover {
    color: var(--usa-red);
}

.secure-connection {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--usa-gray);
}

.secure-connection i {
    color: #28a745;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 600px;
    margin: 50px auto;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--hover-shadow);
    animation: slideDown 0.3s ease-out;
    border: 1px solid var(--usa-light-gray);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--usa-light-gray);
}

.modal-title {
    color: var(--usa-blue);
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.close-modal {
    background: none;
    border: none;
    color: var(--usa-gray);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--usa-red);
    transform: rotate(90deg);
}

/* Contact List in Modal */
.contact-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--usa-light-gray);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-item:hover {
    transform: translateY(-3px);
    background: white;
    box-shadow: var(--hover-shadow);
    border-color: var(--usa-blue);
}

.contact-item.selected {
    background: var(--usa-blue);
    color: white;
    border-color: var(--usa-blue);
}

.contact-item.selected .contact-name {
    color: white;
}

.contact-item.selected .contact-role {
    color: rgba(255, 255, 255, 0.8);
}

.contact-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--usa-blue);
    box-shadow: var(--shadow);
}

.contact-info {
    flex: 1;
}

.contact-name {
    color: var(--usa-blue);
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.contact-role {
    color: var(--usa-gray);
    font-size: 0.9rem;
    line-height: 1.2;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    max-width: calc(100% - 4rem);
    z-index: 2000;
    background: var(--usa-blue);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--hover-shadow);
    animation: slideIn 0.3s ease-out;
}

.toast.show {
    display: flex;
}

.toast i {
    font-size: 1.2rem;
}

.toast i.fa-check-circle {
    color: #4CAF50;
}

.toast i.fa-times-circle {
    color: var(--usa-red);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media screen and (max-width: 768px) {
    .toast {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
        width: auto;
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 1600px) {
    .dashboard-container {
        max-width: 1400px;
    }
}

@media screen and (max-width: 1400px) {
    .dashboard-container {
        max-width: 1200px;
    }
}

@media screen and (max-width: 992px) {
    .dashboard-container {
        flex-direction: column;
        padding: 1rem;
    }

    .sidebar {
        width: 100%;
        margin-bottom: 1.5rem;
        position: relative;
        top: 0;
    }

    .user-profile {
        display: flex;
        align-items: center;
        text-align: left;
        padding-bottom: 1rem;
    }

    .user-avatar {
        width: 80px;
        height: 80px;
        margin: 0 1rem 0 0;
    }

    .nav-menu {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.8rem;
    }

    .logout-btn {
        grid-column: 1 / -1;
        margin-top: 0.8rem;
        justify-content: center;
        text-align: center;
    }

    .welcome-section {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .welcome-text {
        font-size: 1.8rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-left, .footer-right {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
}

@media screen and (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .coin-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .coin-btn {
        width: 100%;
    }

    .modal-content {
        width: 95%;
        margin: 20px auto;
        padding: 1.5rem;
    }

    .contact-list {
        grid-template-columns: 1fr;
        max-height: 60vh;
    }

    .wallet-address {
        flex-direction: column;
        gap: 0.8rem;
    }

    .copy-btn {
        width: 100%;
    }

    .address-value {
        font-size: 0.9rem;
        word-break: break-all;
    }

    .activity-item {
        flex-direction: column;
        text-align: center;
    }

    .activity-icon {
        margin: 0 auto;
    }

    .header-content {
        padding: 0.8rem;
    }

    .header-text h1 {
        font-size: 1.2rem;
    }

    .header-text p {
        font-size: 0.85rem;
    }

    .seal {
        width: 50px;
        height: 50px;
    }

    .hamburger-menu {
        display: block;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 100%;
        z-index: 999;
        transition: left 0.3s ease;
        margin: 0;
        border-radius: 0;
        overflow-y: auto;
        background: white;
    }

    .sidebar.active {
        left: 0;
    }

    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }

    .main-content {
        padding: 1rem;
        margin: 0;
        width: 100%;
    }

    .header-content {
        display: flex;
        align-items: center;
    }

    .logo-container {
        margin: 0 auto;
    }

    .user-profile {
        padding: 2rem 1.5rem;
        margin-top: 1rem;
        text-align: center;
    }

    .nav-menu {
        padding: 1.5rem;
        grid-template-columns: 1fr;
    }

    .nav-item {
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
        justify-content: center;
    }

    .logout-btn {
        margin: 1.5rem;
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
        justify-content: center;
    }

    .contact-grid,
    .document-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .contact-card,
    .document-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 2rem 1.5rem;
    }

    .contact-info,
    .document-info {
        width: 100%;
        text-align: center;
    }

    .contact-actions,
    .document-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: 1.5rem;
        justify-content: center;
    }

    .contact-btn,
    .document-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .nav-menu {
        grid-template-columns: 1fr;
    }

    .user-profile {
        flex-direction: column;
        text-align: center;
    }

    .user-avatar {
        margin: 0 auto 1rem;
    }

    .coin-amount {
        font-size: 1.8rem;
    }

    .modal-title {
        font-size: 1.2rem;
    }

    .contact-item {
        padding: 0.8rem;
    }

    .contact-avatar {
        width: 48px;
        height: 48px;
    }

    .amount-input {
        font-size: 1rem;
        padding: 1rem;
    }

    .send-btn {
        padding: 1rem;
        font-size: 1rem;
    }

    .toast {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        font-size: 0.9rem;
    }
}

/* iOS and Notched Phone Support */
@supports (-webkit-overflow-scrolling: touch) {
    .contact-list,
    body {
        -webkit-overflow-scrolling: touch;
    }
}

@supports (padding: max(0px)) {
    .dashboard-container,
    .header-content,
    .footer-content {
        padding-left: max(1.5rem, env(safe-area-inset-left));
        padding-right: max(1.5rem, env(safe-area-inset-right));
    }

    .toast {
        bottom: max(2rem, env(safe-area-inset-bottom));
    }
}

/* Standardized Logout Button */
.logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    color: var(--usa-red);
    background: var(--usa-light-gray);
    border: none;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    font-size: 1.1rem;
    margin: 1.5rem 0;
}

.logout-btn i {
    font-size: 1.2rem;
}

.logout-btn:hover {
    background: var(--usa-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

/* Contact Page Specific Styles */
.search-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0 2rem;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem;
    padding-left: 2.5rem;
    border: 2px solid var(--usa-light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--usa-gray);
}

.search-box input:focus {
    outline: none;
    border-color: var(--usa-blue);
    box-shadow: 0 0 0 3px rgba(0, 40, 104, 0.1);
}

.filter-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.2rem;
    border: 2px solid var(--usa-light-gray);
    border-radius: 8px;
    background: white;
    color: var(--usa-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active {
    background: var(--usa-blue);
    color: white;
    border-color: var(--usa-blue);
}

.filter-btn:hover:not(.active) {
    border-color: var(--usa-blue);
    color: var(--usa-blue);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
    width: 100%;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--usa-light-gray);
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: var(--usa-blue);
}

.contact-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--usa-blue);
}

.contact-info {
    flex: 1;
    min-width: 0;
}

.contact-name {
    color: var(--usa-blue);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-role {
    color: var(--usa-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--usa-gray);
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.contact-btn {
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.message-btn {
    background: var(--usa-blue);
    color: white;
    flex: 2;
}

.edit-btn {
    background: var(--usa-light-gray);
    color: var(--usa-blue);
    flex: 1;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    box-shadow: var(--hover-shadow);
    animation: slideDown 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    font-size: 1rem;
}

#usdEquivalent {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #2196f3;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #1976d2;
}

.qr-code {
    background: #f5f5f5;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.qr-placeholder i {
    font-size: 6rem;
    color: #666;
}

.wallet-address-display {
    text-align: center;
}

.wallet-address-display p {
    margin-bottom: 0.5rem;
    color: #666;
}

.wallet-address-display code {
    display: block;
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    word-break: break-all;
    font-family: monospace;
}

/* Toast Notification Styles */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
}

.toast.success {
    border-left: 4px solid #4CAF50;
}

.toast.error {
    border-left: 4px solid #f44336;
}

.toast i {
    font-size: 1.2rem;
}

.toast.success i {
    color: #4CAF50;
}

.toast.error i {
    color: #f44336;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .wallet-actions {
        flex-direction: column;
    }

    .balance-amount {
        font-size: 2rem;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }

    .transaction-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .tx-status {
        align-self: flex-start;
        margin-top: 0.5rem;
    }
}

/* Document Grid Layout */
.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
    width: 100%;
}

.document-card {
    background: white;
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--usa-light-gray);
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    height: 100%;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: var(--usa-blue);
}

.document-icon {
    width: 60px;
    height: 60px;
    background: var(--usa-light-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--usa-blue);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.document-card:hover .document-icon {
    background: var(--usa-blue);
    color: white;
    transform: rotate(5deg);
}

.document-info {
    flex: 1;
    min-width: 0;
}

.document-name {
    color: var(--usa-blue);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.document-type {
    color: var(--usa-red);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.document-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--usa-gray);
}

.document-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.document-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.document-btn {
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    flex: 1;
}

.view-btn {
    background: var(--usa-blue);
    color: white;
}

.download-btn {
    background: var(--usa-light-gray);
    color: var(--usa-blue);
}

.document-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

.download-btn:hover {
    background: var(--usa-blue);
    color: white;
}

/* Search and Filter Section */
.search-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0 2rem;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem;
    padding-left: 2.5rem;
    border: 2px solid var(--usa-light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--usa-gray);
}

.search-box input:focus {
    outline: none;
    border-color: var(--usa-blue);
    box-shadow: 0 0 0 3px rgba(0, 40, 104, 0.1);
}

.filter-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.2rem;
    border: 2px solid var(--usa-light-gray);
    border-radius: 8px;
    background: white;
    color: var(--usa-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active {
    background: var(--usa-blue);
    color: white;
    border-color: var(--usa-blue);
}

.filter-btn:hover:not(.active) {
    border-color: var(--usa-blue);
    color: var(--usa-blue);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .document-grid {
        grid-template-columns: 1fr;
    }

    .document-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .document-icon {
        margin: 0 auto 1rem auto;
    }

    .document-info {
        width: 100%;
        text-align: center;
    }

    .document-name {
        text-align: center;
        margin: 0.5rem 0;
    }

    .document-type {
        text-align: center;
    }

    .document-details {
        justify-content: center;
        text-align: center;
    }

    .document-details p {
        justify-content: center;
        text-align: center;
        margin: 0.5rem 0;
    }

    .document-actions {
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .document-btn {
        min-width: 120px;
    }
}

/* CSS Variables */
:root {
    --primary-color: #1a73e8;
    --primary-color-dark: #1557b0;
    --primary-color-rgb: 26, 115, 232;
    --accent-color: #34a853;
    --accent-color-dark: #2d8745;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --border-color: #dadce0;
    --card-bg: #ffffff;
    --button-hover-bg: #f1f3f4;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 4px 8px rgba(0, 0, 0, 0.1);
    --input-bg: #ffffff;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #8ab4f8;
        --primary-color-dark: #669df6;
        --primary-color-rgb: 138, 180, 248;
        --accent-color: #81c995;
        --accent-color-dark: #5bb974;
        --text-primary: #e8eaed;
        --text-secondary: #9aa0a6;
        --border-color: #3c4043;
        --card-bg: #202124;
        --button-bg: #2d2e30;
        --button-hover-bg: #3c4043;
        --input-bg: #202124;
    }
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    color: var(--usa-blue);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    margin-right: 1rem;
}

.hamburger-menu:hover {
    color: var(--usa-red);
}

.hamburger-menu i {
    display: block;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media screen and (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 100%;
        z-index: 999;
        transition: left 0.3s ease;
        margin: 0;
        border-radius: 0;
        overflow-y: auto;
        background: white;
    }

    .sidebar.active {
        left: 0;
    }

    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .header-content {
        display: flex;
        align-items: center;
    }

    .logo-container {
        margin: 0 auto;
    }

    .user-profile {
        padding: 2rem 1.5rem;
        margin-top: 1rem;
    }

    .nav-menu {
        padding: 1.5rem;
        grid-template-columns: 1fr;
    }

    .nav-item {
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
    }

    .logout-btn {
        margin: 1.5rem;
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
    }
}

.close-sidebar {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--usa-gray);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    z-index: 1000;
}

.close-sidebar:hover {
    color: var(--usa-red);
    transform: rotate(90deg);
}

@media screen and (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 100%;
        z-index: 999;
        transition: left 0.3s ease;
        margin: 0;
        border-radius: 0;
        overflow-y: auto;
        background: white;
    }

    .sidebar.active {
        left: 0;
    }

    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .header-content {
        display: flex;
        align-items: center;
    }

    .logo-container {
        margin: 0 auto;
    }

    .user-profile {
        padding: 2rem 1.5rem;
        margin-top: 1rem;
    }

    .nav-menu {
        padding: 1.5rem;
        grid-template-columns: 1fr;
    }

    .nav-item {
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
    }

    .logout-btn {
        margin: 1.5rem;
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
    }
}

/* Print Media Query */
@media print {
    .sidebar,
    .header,
    .footer,
    .search-actions,
    .document-actions,
    .contact-actions {
        display: none;
    }

    .main-content {
        margin: 0;
        padding: 0;
    }

    .contact-card,
    .document-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Height-based Media Queries */
@media screen and (max-height: 700px) {
    .sidebar {
        padding: 1rem;
    }

    .user-profile {
        padding: 1rem;
    }

    .user-avatar {
        width: 80px;
        height: 80px;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-item {
        padding: 0.8rem;
    }
}

/* Amount Input and Send Coins Button Styles */
.amount-input {
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1.1rem;
    border: 2px solid var(--usa-light-gray);
    border-radius: 8px;
    transition: var(--transition);
    background: white;
    color: var(--usa-blue);
    font-weight: 500;
    text-align: center;
    margin-bottom: 1.5rem;
}

.amount-input:focus {
    outline: none;
    border-color: var(--usa-blue);
    box-shadow: 0 0 0 3px rgba(0, 40, 104, 0.1);
}

.amount-input::placeholder {
    color: var(--usa-gray);
    opacity: 0.7;
}

.send-coins-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--usa-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}

.send-coins-btn i {
    font-size: 1.2rem;
}

.send-coins-btn:hover {
    background: var(--usa-darker-blue);
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

.send-coins-btn:active {
    transform: translateY(0);
}

/* Mobile Styles for Amount Input and Send Button */
@media screen and (max-width: 768px) {
    .amount-input {
        padding: 0.8rem 1rem;
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .send-coins-btn {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
    }

    .send-coins-btn i {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .amount-input {
        padding: 0.7rem;
        font-size: 0.95rem;
    }

    .send-coins-btn {
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
    }
}

/* Form Group Styles */
.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-label {
    display: block;
    color: var(--usa-blue);
    font-weight: 500;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

/* Modal Content Adjustments */
.modal-content {
    padding: 2rem;
}

@media screen and (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
        width: 95%;
        margin: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-label {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
}

/* Wallet Dashboard Styles */
.wallet-dashboard {
    display: grid;
    gap: 2rem;
    padding: 1rem;
}

.balance-card {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.balance-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.balance-header i {
    font-size: 2rem;
    color: #ffd700;
}

.balance-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.balance-usd {
    font-size: 1.2rem;
    opacity: 0.9;
}

.wallet-actions {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.action-button {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.send-btn {
    background-color: #2196f3;
    color: white;
}

.receive-btn {
    background-color: #4caf50;
    color: white;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.wallet-address-section {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.address-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.address-container code {
    flex: 1;
    font-family: monospace;
    font-size: 1rem;
    word-break: break-all;
}

.copy-btn {
    background: #e0e0e0;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background: #bdbdbd;
}

.transaction-history {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

#txFilter {
    padding: 0.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.25rem;
    font-size: 0.9rem;
}

.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    transition: transform 0.2s ease;
}

.transaction-item:hover {
    transform: translateX(4px);
}

.tx-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.sent .tx-icon {
    background: #ffebee;
    color: #f44336;
}

.received .tx-icon {
    background: #e8f5e9;
    color: #4caf50;
}

.tx-details {
    flex: 1;
}

.tx-amount {
    font-weight: 600;
    font-size: 1.1rem;
}

.tx-recipient {
    color: #666;
    font-size: 0.9rem;
}

.tx-memo {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.25rem;
}

.tx-time {
    color: #999;
    font-size: 0.8rem;
}

.tx-status {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    text-transform: capitalize;
}

.tx-status.completed {
    background: #e8f5e9;
    color: #2e7d32;
}

.tx-status.pending {
    background: #fff3e0;
    color: #f57c00;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    font-size: 1rem;
}

#usdEquivalent {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #2196f3;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #1976d2;
}

.qr-code {
    background: #f5f5f5;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.qr-placeholder i {
    font-size: 6rem;
    color: #666;
}

.wallet-address-display {
    text-align: center;
}

.wallet-address-display p {
    margin-bottom: 0.5rem;
    color: #666;
}

.wallet-address-display code {
    display: block;
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    word-break: break-all;
    font-family: monospace;
}

/* Toast Notification Styles */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
}

.toast.success {
    border-left: 4px solid #4CAF50;
}

.toast.error {
    border-left: 4px solid #f44336;
}

.toast i {
    font-size: 1.2rem;
}

.toast.success i {
    color: #4CAF50;
}

.toast.error i {
    color: #f44336;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .wallet-actions {
        flex-direction: column;
    }

    .balance-amount {
        font-size: 2rem;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }

    .transaction-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .tx-status {
        align-self: flex-start;
        margin-top: 0.5rem;
    }
} 