:root {
    --primary: #0097b2;
    --primary-light: #5ce1e6;
    --primary-dark: #006e83;
    --secondary: #5ce1e6;
    --white: #ffffff;
}

html,
body {
    height: 100%;
}

#layoutAuthentication {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

#layoutAuthentication_content {
    flex: 1 0 auto;
}

#layoutAuthentication_footer {
    flex-shrink: 0;
}

body.bg-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    position: relative;
    overflow-x: hidden;
}

body.bg-primary::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    z-index: 0;
    pointer-events: none;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 10%;
    animation: float 20s infinite ease-in-out;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    left: 15%;
    animation: float 25s infinite ease-in-out;
    animation-delay: 1s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    top: 30%;
    right: 15%;
    animation: float 30s infinite ease-in-out;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(10px, 15px) rotate(5deg);
    }

    50% {
        transform: translate(0, 20px) rotate(0deg);
    }

    75% {
        transform: translate(-10px, 15px) rotate(-5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.card.card-raised {
    border-radius: 5px !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.card.card-raised:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

.card-body .text-center img {
    height: 60px !important;
    transition: transform 0.3s ease;
}

.card-body .text-center img:hover {
    transform: scale(1.05);
}

.display-5 {
    font-weight: 500;
    color: #333;
    margin-bottom: 1.5rem !important;
    font-size: 1.8rem !important;
}

.form-control.rounded {
    border-radius: 5px !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid #e0e0e0;
    box-shadow: none;
    transition: all 0.3s ease;
}

.form-control.rounded:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 151, 178, 0.25);
}

.form-text {
    color: #757575;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.btn.btn-primary.rounded {
    background-color: var(--primary);
    border: none;
    color: white !important;
    border-radius: 5px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 151, 178, 0.2);
}

.btn.btn-primary.rounded:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 151, 178, 0.3);
}

.btn.btn-primary.rounded:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 151, 178, 0.2);
}

a.small.fw-500.text-decoration-none {
    color: var(--primary);
    transition: color 0.2s ease;
}

a.small.fw-500.text-decoration-none:hover {
    color: var(--primary-dark);
    text-decoration: underline !important;
}

.text-center.mb-5 .small.fw-500 {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 12px 20px;
    border-radius: 5px;
    display: inline-block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#layoutAuthentication_footer footer {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 5px 5px 0 0;
    margin: 0 10px;
    padding: 0.75rem;
}

.main-content-wrapper {
    min-height: calc(100vh - 80px);
}

.card.card-raised {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    padding-top: 20px;
    padding-bottom: 20px;
}

.card.card-raised {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

@media (max-width: 576px) {
    .card-body.p-5 {
        padding: 1.5rem !important;
    }

    .display-5 {
        font-size: 1.5rem !important;
    }
}