﻿body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    transition: background 0.3s ease;
}

    /* Fondo para éxito */
    body.success-bg {
        background: linear-gradient(135deg, #a8e0a0, #f0f8f0);
    }

    /* Fondo para error */
    body.error-bg {
        background: linear-gradient(135deg, #f8d7da, #fff5f5);
    }

    /* Fondo para cancelación */
    body.cancel-bg {
        background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    }

.container {
    flex-wrap: wrap;
    text-align: center;
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    width: 400px;
    transition: transform 0.3s;
    margin-bottom: 20px;
}

    .container:hover {
        transform: translateY(-5px);
    }

h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.icon {
    width: 80px;
    height: 80px;
}

.button {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

    .button:hover {
        transform: scale(1.05);
    }

/* Estilos específicos para éxito */
.success h1 {
    color: #4caf50;
}

.success .button {
    background-color: #4caf50;
}

    .success .button:hover {
        background-color: #45a049;
    }

/* Estilos específicos para error */
.error h1 {
    color: #721c24;
}

.error .button {
    background-color: #dc3545;
}

    .error .button:hover {
        background-color: #c82333;
    }

/* Estilos específicos para cancelación */
.cancel h1 {
    color: #333;
}

.cancel .button {
    background-color: #6c757d;
}

    .cancel .button:hover {
        background-color: #5a6268;
    }

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.9rem;
    }

    .icon {
        width: 60px;
        height: 60px;
    }
}

.language-buttons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.language-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

    .language-button:hover {
        opacity: 1;
    }

    .language-button img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    width: 100px;
    height: auto;
}

.language-buttons {
    position: static;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.powered-by {
    text-align: center;
}

.powered-logo {
    height: 40px;
    width: auto;
    display: block;
    margin: 5px auto 0;
}
