* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
    height: 100%;
}

body {
    background: #111317;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
}

html {
    background: #111317;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #111317;
}

.content {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    background: transparent;
}

.header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 32px;
    height: 32px;
    color: #0052ff;
    flex-shrink: 0;
}

.logo-img {
    width: auto;
    height: 24px;
    max-width: 150px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ffffff;
    white-space: nowrap;
}

.progress-bar {
    display: flex;
    gap: 8px;
    height: 4px;
}

.progress-step {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.progress-step.active {
    background: #0052ff;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.landing-content {
    text-align: center;
    align-items: center;
}

.landing-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    line-height: 1.2;
}

.landing-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
    max-width: 500px;
}

/* Crypto Graphic */
.crypto-graphic {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 40px auto;
}

.crypto-graphic-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.center-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.crypto-logos-ring {
    position: relative;
    width: 100%;
    height: 100%;
}

.crypto-ring-logo {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: contain;
    padding: 4px;
    background: rgba(255, 255, 255, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-120px) rotate(calc(-1 * var(--angle)));
    transition: transform 0.3s ease;
}

.crypto-ring-logo:hover {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-130px) rotate(calc(-1 * var(--angle))) scale(1.1);
}

/* Get Started Button */
.get-started-btn {
    background: #0052ff;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 82, 255, 0.4);
    margin: 32px 0;
}

.get-started-btn:hover {
    background: #0040cc;
    box-shadow: 0 6px 30px rgba(0, 82, 255, 0.6);
    transform: translateY(-2px);
}

.get-started-btn:active {
    transform: translateY(0);
}

/* Feature Cards */
.feature-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
    width: 100%;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    text-align: left;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.feature-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.title {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
    line-height: 1.2;
}

.subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.code-input-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 8px 0;
}

.code-input {
    width: 56px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.2s ease;
}

.code-input:focus {
    outline: none;
    border-color: #0052ff;
    background: rgba(0, 82, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}

.code-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.security-tip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.shield-icon {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
    margin-top: 2px;
}

.tip-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.continue-button {
    width: 100%;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.continue-button.active {
    background: #0052ff;
    color: #ffffff;
    cursor: pointer;
}

.continue-button.active:hover {
    background: #0042cc;
}

.continue-button:active {
    transform: scale(0.98);
}

.footer {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Insurance Selection Styles */
.insurance-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 8px 0;
}

.insurance-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.insurance-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.insurance-card.selected {
    background: rgba(0, 82, 255, 0.15);
    border-color: #0052ff;
    box-shadow: 0 0 0 2px rgba(0, 82, 255, 0.2);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.card-range {
    font-size: 16px;
    font-weight: 500;
    color: #0052ff;
    margin: 0;
}

.card-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

/* Cryptocurrency Selection Styles */
.search-input {
    width: 100%;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0 16px;
    font-size: 16px;
    color: #ffffff;
    transition: all 0.2s ease;
    margin: 8px 0;
}

.search-input:focus {
    outline: none;
    border-color: #0052ff;
    background: rgba(0, 82, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.selection-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 4px 0 12px 0;
}

.crypto-list {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 8px 0;
    padding-right: 4px;
}

.crypto-list::-webkit-scrollbar {
    width: 6px;
}

.crypto-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.crypto-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.crypto-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.crypto-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.crypto-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.crypto-item.selected {
    background: rgba(0, 82, 255, 0.15);
    border-color: #0052ff;
}

.crypto-logo-container {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.crypto-logo-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px;
}

.crypto-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.crypto-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.crypto-symbol {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.crypto-checkbox {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
}

.checkbox.checked {
    background: #0052ff;
    border-color: #0052ff;
}

.checkbox.checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
}

@media (max-width: 480px) {
    .code-input {
        width: 48px;
        height: 56px;
        font-size: 20px;
    }
    
    .title {
        font-size: 24px;
    }
    
    .footer {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .insurance-card {
        padding: 16px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .card-range {
        font-size: 14px;
    }
    
    .crypto-item {
        padding: 12px;
    }
    
    .crypto-logo-container {
        width: 40px;
        height: 40px;
    }
    
    .crypto-logo-img {
        width: 40px;
        height: 40px;
    }
    
    .crypto-name {
        font-size: 14px;
    }
    
    .crypto-symbol {
        font-size: 12px;
    }
    
    .crypto-list {
        max-height: 300px;
    }
}

/* Dashboard Styles */
.dashboard-content {
    max-width: 600px;
    background: transparent;
}

.balance-section {
    text-align: center;
    margin: 32px 0;
}

.balance-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 8px 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balance-amount {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.action-buttons {
    display: flex;
    gap: 12px;
    margin: 32px 0;
    justify-content: center;
}

.action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.action-btn.active {
    background: rgba(0, 82, 255, 0.15);
    border-color: #0052ff;
    color: #ffffff;
}

.action-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.action-btn span {
    font-size: 14px;
    font-weight: 500;
}

.assets-section {
    margin: 32px 0;
}

.assets-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.assets-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.asset-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.asset-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.asset-logo-container {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.asset-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px;
}

.asset-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.asset-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.asset-price {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.asset-change {
    font-size: 12px;
    font-weight: 500;
}

.asset-change.positive {
    color: #00d4aa;
}

.asset-change.negative {
    color: #ff4444;
}

.asset-balance {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.asset-amount {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.asset-value {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.no-assets {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

/* Deposit Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #111317;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-modal-content {
    background: #111317;
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 24px;
}

.qr-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.qr-code {
    width: 200px;
    height: 200px;
    background: #ffffff;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.deposit-warning {
    background: #ffd700;
    color: #000000;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.address-section {
    margin-bottom: 24px;
}

.address-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-weight: 500;
}

.address-input-container {
    display: flex;
    gap: 8px;
}

.address-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #ffffff;
    font-family: monospace;
}

.address-input:focus {
    outline: none;
    border-color: #0052ff;
    background: rgba(0, 82, 255, 0.1);
}

.copy-btn {
    background: #0052ff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    background: #0042cc;
}

.network-info {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.network-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-weight: 500;
}

.network-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* Receive Modal Styles */
.crypto-select-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    max-height: 400px;
    overflow-y: auto;
}

.receive-crypto-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.receive-crypto-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.receive-crypto-logo-container {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.receive-crypto-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.receive-crypto-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.receive-crypto-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.receive-crypto-symbol {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Admin Styles */
.admin-content {
    max-width: 800px;
    background: transparent;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.admin-header .logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.welcome-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.settings-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.links-btn {
    background: #00d4aa;
    color: #000000;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.links-btn:hover {
    background: #00b894;
}

.logout-btn {
    background: #0052ff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: #0042cc;
}

.back-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #ffffff;
}

.dashboard-section {
    margin-bottom: 32px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 24px 0;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.info-value {
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
}

.access-code-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.access-code-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.access-code-value {
    font-size: 36px;
    font-weight: 700;
    color: #0052ff;
    margin: 16px 0;
    letter-spacing: 4px;
}

.access-code-instruction {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    line-height: 1.5;
}

.regenerate-btn {
    background: #0052ff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.regenerate-btn:hover {
    background: #0042cc;
}

.manage-addresses-card {
    background: rgba(0, 210, 170, 0.15);
    border: 2px solid #00d4aa;
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 32px;
}

.manage-addresses-card:hover {
    background: rgba(0, 210, 170, 0.2);
    transform: translateY(-2px);
}

.manage-title {
    font-size: 18px;
    font-weight: 700;
    color: #00d4aa;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.manage-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Change Password Section (Compact) */
.change-password-compact {
    margin-bottom: 24px;
}

.password-form-compact {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.password-input-compact {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 8px 12px;
    color: #ffffff;
    font-size: 13px;
    flex: 1;
    min-width: 140px;
    transition: all 0.2s ease;
}

.password-input-compact:focus {
    outline: none;
    border-color: #ffc107;
    background: rgba(255, 255, 255, 0.08);
}

.password-input-compact::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.change-password-btn-compact {
    background: #ffc107;
    color: #111317;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.change-password-btn-compact:hover {
    background: #ffb300;
    transform: translateY(-1px);
}

.change-password-btn-compact:active {
    transform: translateY(0);
}

.password-message-compact {
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    text-align: left;
}

.password-message-compact.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.password-message-compact.error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

/* Settings Modal Styles */
.settings-section {
    padding: 0;
}

.settings-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.password-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    width: 100%;
    transition: all 0.2s ease;
}

.password-input:focus {
    outline: none;
    border-color: #ffc107;
    background: rgba(255, 255, 255, 0.08);
}

.password-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.change-password-btn {
    background: #ffc107;
    color: #111317;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
}

.change-password-btn:hover {
    background: #ffb300;
    transform: translateY(-1px);
}

.change-password-btn:active {
    transform: translateY(0);
}

.password-message {
    margin-top: 12px;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
}

.password-message.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.password-message.error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

.sessions-section {
    margin-top: 32px;
}

.sessions-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.sessions-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.session-count {
    background: #0052ff;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.sessions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
}

.session-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.session-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.session-item.selected {
    border-color: #0052ff;
    background: rgba(0, 82, 255, 0.1);
}

.session-info {
    flex: 1;
}

.session-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.session-id {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #888;
}

.session-status {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.session-status.active {
    background: #00d4aa;
    color: #000;
}

.session-details-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
}

.session-detail {
    display: flex;
    gap: 4px;
}

.detail-label {
    color: #888;
}

.detail-value {
    color: #fff;
    font-weight: 500;
}

.view-session-btn {
    background: #0052ff;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.view-session-btn:hover {
    background: #0040cc;
}

.no-sessions {
    text-align: center;
    color: #888;
    padding: 40px;
}

/* Session Modal */
.session-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.session-modal-content {
    background: #111317;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
}

.session-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.session-modal-header h3 {
    margin: 0;
    color: #fff;
}

.close-modal-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.close-modal-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.session-detail-section {
    margin-bottom: 32px;
}

.session-detail-section h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 16px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item .detail-label {
    font-size: 12px;
    color: #888;
}

.detail-item .detail-value {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.session-activities-section {
    margin-top: 32px;
}

.session-activities-section h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 16px;
}

.activities-list {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.activity-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 6px;
    font-size: 12px;
}

.activity-time {
    color: #888;
    font-size: 11px;
    margin-bottom: 4px;
}

.activity-action {
    color: #fff;
    font-weight: 600;
    margin-bottom: 2px;
}

.activity-page {
    color: #888;
    font-size: 11px;
    margin-bottom: 2px;
}

.activity-details {
    color: #aaa;
    font-size: 10px;
    font-family: 'Courier New', monospace;
    margin-top: 4px;
}

.activity-details.highlight {
    color: #00d4aa;
    font-weight: 600;
    font-family: inherit;
    font-size: 12px;
    margin-top: 6px;
}

.no-activities {
    text-align: center;
    color: #888;
    padding: 20px;
}

.notifications-section {
    margin-top: 32px;
}

.notifications-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.notifications-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.notification-badge {
    background: #0052ff;
    color: #ffffff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.refresh-btn {
    background: #0052ff;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
}

.refresh-btn:hover {
    background: #0042cc;
}

.clear-btn {
    background: transparent;
    color: #ff4444;
    border: 1px solid #ff4444;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-btn:hover {
    background: rgba(255, 68, 68, 0.1);
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notification-item.unread {
    background: rgba(0, 82, 255, 0.1);
    border-color: #0052ff;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.notification-message {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.notification-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.no-notifications {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Admin Addresses Page */
.targs-bar {
    background: #00d4aa;
    color: #000000;
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}

.targs-count {
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 18px;
}

.how-it-works-card {
    background: rgba(0, 82, 255, 0.1);
    border: 1px solid rgba(0, 82, 255, 0.3);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.card-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 24px 0;
}

.how-it-works-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.how-it-works-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
}

.how-it-works-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #0052ff;
    font-size: 20px;
}

.addresses-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
}

.addresses-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

.address-item {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.address-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.address-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.address-crypto-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.address-logo-container {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.address-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px;
}

.address-crypto-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.address-crypto-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.address-crypto-symbol {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.set-btn {
    background: #00d4aa;
    color: #000000;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.set-btn:hover {
    background: #00b894;
}

.address-input-field {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #000000;
    font-family: monospace;
    margin-bottom: 12px;
}

.address-input-field:focus {
    outline: none;
    border-color: #0052ff;
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}

.save-address-btn {
    width: 100%;
    background: #0052ff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.save-address-btn:hover {
    background: #0042cc;
}

/* Login Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.form-input {
    width: 100%;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0 16px;
    font-size: 16px;
    color: #ffffff;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #0052ff;
    background: rgba(0, 82, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}

.form-error {
    display: none;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid #ff4444;
    border-radius: 8px;
    padding: 12px;
    color: #ff4444;
    font-size: 14px;
    text-align: center;
}

/* Links Button */
.links-btn {
    background: #00d4aa;
    color: #000000;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.links-btn:hover {
    background: #00b894;
}

/* Links Modal */
.links-modal-content {
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

/* Token Management Styles */
.token-generate-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.token-generate-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.token-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.token-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #ffffff;
    font-family: inherit;
}

.token-input:focus {
    outline: none;
    border-color: #00d4aa;
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.token-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.generate-token-btn {
    background: #00d4aa;
    color: #000000;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.generate-token-btn:hover {
    background: #00b894;
}

.generate-token-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.token-message {
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

.token-message.success {
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.3);
    color: #00d4aa;
}

.token-message.error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
}

.tokens-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.tokens-list-header h4 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.tokens-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.token-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.token-item.inactive {
    opacity: 0.6;
}

.token-info {
    flex: 1;
}

.token-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.token-subdomain {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.token-status {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.token-status.active {
    background: rgba(0, 212, 170, 0.2);
    color: #00d4aa;
    border: 1px solid rgba(0, 212, 170, 0.3);
}

.token-status.inactive {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.token-status.expired {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.token-details-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.token-detail {
    display: flex;
    gap: 8px;
    font-size: 13px;
}

.token-detail .detail-label {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.token-detail .detail-value {
    color: #ffffff;
    word-break: break-all;
}

.token-code {
    font-family: monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 4px;
}

.token-link {
    color: #00d4aa;
    text-decoration: none;
    word-break: break-all;
}

.token-link:hover {
    text-decoration: underline;
}

.expired-text {
    color: #ff4444 !important;
}

.token-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.copy-token-btn,
.toggle-token-btn,
.delete-token-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.copy-token-btn {
    background: #0052ff;
    color: #ffffff;
}

.copy-token-btn:hover {
    background: #0042cc;
}

.toggle-token-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toggle-token-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.delete-token-btn {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.delete-token-btn:hover {
    background: rgba(255, 68, 68, 0.3);
}

.no-tokens {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}
