/* Full-page container with full-width background */
.container {
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
    min-height: 90vh; /* Full viewport height */
    width: 100%; /* Full width */
    position: relative;
    background-size: cover;
    background-image: url('/static/img/photos/conscientiousness.webp');
    z-index: 1;
    max-width: 100%;
}

/* Frame effect with blur */
.container::before {
    content: "";
    position: absolute;
    top: 0%;
    right: 0%;
    bottom: 0%;
    left: 0%;
    border: solid 5px rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px); /* Blur effect */
    -webkit-backdrop-filter: blur(5px); /* Safari compatibility */
    background-color: rgba(255, 255, 255, 0.4); /* Slight dim effect */
    z-index: -1;
}

/* Form card styling */
.row.justify-content-center-signup {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    border: solid 2px #e5e5e5;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    max-width: 800px;
}

/* Form shake animation */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.3s ease-in-out;
}

/* Typography adjustments */
h1.text-center {
    font-size: 28px;
    font-weight: bold;
    color: #f87060;
}

h2.text-center {
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
    color: #444;
}

.form-check-label {
    display: block;
    text-align: left;
    font-size: 16px;
    margin-bottom: 15px;
}

.form-check-label a {
    color: #007bff;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn-primary {
    background-color: #f87060;
    border-color: #f87060;
    font-size: 18px;
    padding: 10px 30px;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: #d95742;
    border-color: #d95742;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .row.justify-content-center-signup {
        padding: 20px;
    }

    h1.text-center {
        font-size: 24px;
    }

    h2.text-center {
        font-size: 18px;
    }
}