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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #007bff, #00c6ff);
    color: #333;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container, .dashboard {
    width: 95%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 40px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease-in-out;
}

.container {
    height: 700px;
    overflow: hidden;
}

.screens-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
    transform: translateX(0%);
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.5, 1);
}

.screen {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 30px;
}

.screen:nth-child(odd) {
    background: #f8f9fa;
}

.screen:nth-child(even) {
    background: #ffffff;
}

.icon-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.icon {
    font-size: 50px;
    color: #007bff;
}

h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

p {
    font-size: 18px;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 30px;
}

.circle-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #007bff;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
    transition: transform 0.2s;
}

.circle-button:hover {
    transform: scale(1.1);
}

.summary {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    text-align: left;
    font-size: 18px;
}

.summary div {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary div strong {
    font-weight: 600;
    color: #333;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

button {
    font-size: 18px;
    font-weight: 600;
    padding: 15px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

button.cta-primary {
    background: #007bff;
    color: white;
}

button.cta-primary:hover {
    background: #0056b3;
}

button.cta-secondary {
    background: #ffc107;
    color: #333;
}

button.cta-secondary:hover {
    background: #e0a800;
}

footer {
    margin-top: 30px;
    font-size: 14px;
    color: #adb5bd;
}

#ton-connect {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto; /* Center horizontally */
    width: fit-content; /* Ensure the button size adapts to its content */
}


.wallet-status {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #f0f4f8;
    font-size: 16px;
    color: #555;
    text-align: center;
}

.error {
    color: #e74c3c;
}

.success {
    color: #27ae60;
}

