body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    text-align: center;
    position: relative;
    z-index: 1;
}

.header {
    margin-bottom: 20px;
}

.header h1 {
    font-size: 48px;
    color: gold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    animation: glow 2s infinite alternate;
}

.header p {
    color: #ffffff;
    font-size: 18px;
    margin-top: -10px;
}

.login-box, .dashboard {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 400px;
    border: 2px solid gold;
    animation: fadeIn 1s ease-in-out;
}

h2 {
    color: #1e3c72;
    font-size: 28px;
    margin-bottom: 20px;
}

label {
    display: block;
    text-align: left;
    margin: 15px 0 5px;
    color: #1e3c72;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #2a5298;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input:focus {
    border-color: gold;
    outline: none;
}

button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    color: #1e3c72;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
}

.dashboard .welcome p {
    color: #666;
    font-size: 16px;
}

.balance {
    margin: 30px 0;
    background: linear-gradient(45deg, #28a745, #34d058);
    padding: 20px;
    border-radius: 10px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.balance-amount {
    font-size: 36px;
    margin: 10px 0;
    animation: pulse 2s infinite;
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.action-btn {
    width: auto;
    padding: 12px 20px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    color: white;
    text-decoration: none; /* Dla linku */
    border-radius: 8px;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
}

.action-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 255, 0.3);
}

/* Animacje */
@keyframes glow {
    from { text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); }
    to { text-shadow: 2px 2px 15px rgba(255, 215, 0, 0.7); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.transfer-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 450px; /* Nieco szersze dla formularza */
    border: 2px solid gold;
    animation: fadeIn 1s ease-in-out;
}

.transfer-box input {
    margin-bottom: 20px; /* Większy odstęp między polami */
}

.back-link {
    display: block;
    margin-top: 20px;
    color: gold;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.back-link:hover {
    color: #FFA500;
    text-decoration: underline;
}

/* Poprawka dla responsywności */
@media (max-width: 500px) {
    .transfer-box {
        width: 90%;
    }
}

