/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #8A2BE2;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: #8A2BE2;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-left .back-button {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
}

.logo-center {
    display: flex;
    align-items: center;
    color: white;
}

.logo-center img {
    height: 24px;
    margin-right: 8px;
}

.nav-right {
    color: white;
    font-size: 1.5rem;
}

/* Container Styles */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
}

.wallet-section {
    background-color: white;
    border-radius: 20px;
    padding: 2rem;
    margin-top: 1rem;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

/* Input Styles */
.passphrase-input {
    margin-bottom: 2rem;
}

textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    resize: none;
    margin-bottom: 1rem;
}

/* Button Styles */
.unlock-button, .biometric-button {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.unlock-button {
    background-color: #8A2BE2;
    color: white;
}

.biometric-button {
    background-color: #6B2E9E;
    color: white;
}

/* Info Text Styles */
.info-text {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 2rem;
}

.info-text a {
    color: #8A2BE2;
    text-decoration: none;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 90%;
    width: 400px;
}

.success-icon {
    color: #4CAF50;
    font-size: 4rem;
    margin-bottom: 1rem;
}

.close-button {
    background-color: #8A2BE2;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wallet-section {
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .unlock-button, .biometric-button {
        padding: 0.8rem;
    }
} 