body {
    background: #e4e4e4;
    min-height: 100vh;
}

.navbar {
    background-color: #EDEDED;
    padding: 10px;
    width: 100%;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-nav {
    /* Center align text horizontally */
    text-align: center;
    /* Center align items vertically */
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-btn {
    padding: 0px 0px 0px 10px;
}

.form-layout {
    border-radius: 40px;
    width: 800px;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-layout-update-user {
    border-radius: 40px;
    width: 800px;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.paypal-form-layout {
    border-radius: 40px;
    width: 31%;
    min-width: 500px;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.general-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
}

.form-layout form, .paypal-form-layout form {
    margin-bottom: 0px;
}

.form-layout h1, .paypal-form-layout h1 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.form-layout ul, .paypal-form-layout ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.form-layout-article, .paypal-form-layout-article {
    border-radius: 40px;
    width: 800px;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    margin-bottom: 48px;
}

.form-layout-article form, .paypal-form-layout-article form {
    margin-bottom: 0px;
}

.form-layout-article h3, .paypal-form-layout-article h3 {
    text-align: left;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.btn-primary, .btn-home, .btn-danger, .btn-success {
    width: 100%;
    margin: 1rem auto;
    display: flex; /* Mudado para flex para permitir centralização */
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
    transition: 0.3s;
    border-radius: 30px;
    font-size: 0.9rem;
    height: 45px;
    text-transform: uppercase;
    border: none;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary {
    margin-top: 26px;
    background-color: #4d4d4d;
    color: #fff;
}

.btn-primary:hover {
    background-color: #4d4d4d;
    transform: scale(1.05);
}

.btn-primary:active {
    background-color: #4d4d4d;
    transform: scale(0.95);
}

.btn-home, .btn-danger {
    background-color: #EDEDED;
    padding: 8px;
    margin-bottom: 0px;
    color: #55595c;
}   

.btn-home:hover {
    background-color: #EDEDED;
    transform: scale(1.05);
}

.btn-danger:hover {
    color: #fff;
    background-color: #a80000;
    transform: scale(1.05);
}

.btn-home:active {
    background-color: #EDEDED;
    transform: scale(0.95);
}

.btn-danger:active {
    color: #fff;
    background-color: #a80000;
    transform: scale(0.95);
}

.form-layout input, .form-layout-update-user input, .paypal-form-layout input {
    border-radius: 30px;
    margin-bottom: 1rem;
    padding: 0.5rem;
}

.btn-success {
    align-items: center;
    margin-top: 1rem;
    transition: 0.3s;
    border-radius: 30px;
}

.btn-success:hover {
    background-color: #45ad69;
    transform: scale(1.05);
}

.btn-success:active {
    background-color: #45ad69;
    transform: scale(0.95);
}

.alert {
    border-radius: 30px;
}

@keyframes premium-text-glow {
    0% {
        text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    }
    25% {
        text-shadow: 0 0 12px rgba(255, 165, 0, 0.7);
    }
    50% {
        text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    }
    75% {
        text-shadow: 0 0 15px rgba(255, 229, 92, 0.9);
    }
    100% {
        text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    }
}

.text-account-premium {
    font-size: 1rem;
    font-style: italic;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700, #FFE55C, #FFD700, #FFA500, #FFD700);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: 
    wave-text 3s linear infinite,
    premium-text-glow 2s ease-in-out infinite;
    display: inline-block;
    font-weight: 1000;
}

.text-article-premium {
    font-style: italic;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700, #FFE55C, #FFD700, #FFA500, #FFD700);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: 
        wave-text 3s linear infinite,
        premium-text-glow 2s ease-in-out infinite;
    display: inline-block;
}

.checkbox-input {
    background-color: #4d4d4d;
}

.checkbox-input:checked {
    background-color: #4d4d4d;
}

.form-check-input {
    background-color: #EDEDED;
    border-color: #EDEDED;
}

.form-check-input:checked {
    background-color: #4d4d4d;
    border-color: #4d4d4d;
}

.helptext, 
.form-text,
small.text-muted {
    display: none !important;
}

@keyframes border-glow {
    0% {
        border: 4px solid #FFD700;
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.7), 0 0 30px rgba(255, 215, 0, 0.4);
    }
    25% {
        border: 4px solid #FFA500;
        box-shadow: 0 0 20px rgba(255, 165, 0, 0.9), 0 0 40px rgba(255, 165, 0, 0.5);
    }
    50% {
        border: 4px solid #FFD700;
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.7), 0 0 30px rgba(255, 215, 0, 0.4);
    }
    75% {
        border: 4px solid #FFE55C;
        box-shadow: 0 0 25px rgba(255, 229, 92, 1), 0 0 50px rgba(255, 229, 92, 0.6);
    }
    100% {
        border: 4px solid #FFD700;
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.7), 0 0 30px rgba(255, 215, 0, 0.4);
    }
}

.premium-article {
    animation: border-glow 2s ease-in-out infinite;
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    padding: 4px;
    background-color: rgba(255, 255, 255, 0.95);
}

.premium-article > * {
    position: relative;
    z-index: 1;
}

.text-account-writer {
    font-size: 1rem;
    background: linear-gradient(90deg, #84b0c1, #4a9cc7, #2b85b8, #1a6d9e, #2b85b8, #4a9cc7, #84b0c1);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: wave-text 3s linear infinite;
    font-weight: 1000;
    font-style: italic;
}

.text-account-client {
    font-size: 1rem;
    font-style: italic;
    background: linear-gradient(90deg, #84c196, #4ac76e, #2bb850, #1a9e4a, #2bb850, #4ac76e, #84c196);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: wave-text 3s linear infinite;
    display: inline-block;
    font-weight: 1000;
}

@keyframes no-subscription-pulse {
    0% {
        color: #c13030;
        text-shadow: 0 0 5px rgba(193, 48, 48, 0.3);
    }
    25% {
        color: #e63737;
        text-shadow: 0 0 8px rgba(230, 55, 55, 0.5);
    }
    50% {
        color: #c13030;
        text-shadow: 0 0 5px rgba(193, 48, 48, 0.3);
    }
    75% {
        color: #e63737;
        text-shadow: 0 0 8px rgba(230, 55, 55, 0.5);
    }
    100% {
        color: #c13030;
        text-shadow: 0 0 5px rgba(193, 48, 48, 0.3);
    }
}

.text-account-no-subscription {
    font-size: 1rem;
    font-weight: 1000;
    animation: no-subscription-pulse 3s ease-in-out infinite;
    display: inline-block;
    font-style: italic;
}

@keyframes wave-text {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.text-icon {
    font-size: 1.2rem;
}

@keyframes no-subscription-border-glow {
    0% {
        border: 4px solid #c13030;
        box-shadow: 0 0 15px rgba(165, 38, 38, 0.7), 0 0 30px rgba(165, 38, 38, 0.4);
    }
    25% {
        border: 4px solid #e63737;
        box-shadow: 0 0 20px rgba(204, 48, 48, 0.9), 0 0 40px rgba(204, 48, 48, 0.5);
    }
    50% {
        border: 4px solid #c13030;
        box-shadow: 0 0 15px rgba(165, 38, 38, 0.7), 0 0 30px rgba(165, 38, 38, 0.4);
    }
    75% {
        border: 4px solid #e63737;
        box-shadow: 0 0 25px rgba(142, 31, 31, 1), 0 0 50px rgba(142, 31, 31, 0.6);
    }
    100% {
        border: 4px solid #c13030;
        box-shadow: 0 0 15px rgba(165, 38, 38, 0.7), 0 0 30px rgba(165, 38, 38, 0.4);
    }
}

.no-subscription-element {
    animation: no-subscription-border-glow 3s ease-in-out infinite;
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    padding: 4px;
    background-color: rgba(255, 255, 255, 0.95);
}

/* Estilos personalizados para ajustar a posição do toast */
.toast-top-right {
    top: 100px !important; /* Ajusta a distância do topo da página */
    right: 25px !important; /* Mantém a distância da direita, ajuste se necessário */
}
.toast{
    border-radius: 10px !important;
    width: fit-content !important;
}
.toast-success {
    background-color: #008000 !important;
}
.toast-info {
    background-color:rgb(65, 65, 194) !important;
}
.toast-warning {
    background-color:rgb(235, 231, 36) !important;
}
.toast-error {
    background-color: #a80000 !important;
}

/* Estilos para o rodapé */s
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 15px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e7e7e7;
    z-index: 100;
}

.footer .text-muted {
    color: #6c757d;
    font-size: 0.9rem;
}

.footer a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.logout-link {
    font-weight: 500;
    color: #dc3545 !important;
}

.logout-link:hover {
    color: #bd2130 !important;
}