body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url("{{ asset('images/bckgrbnd.png') }}");
    background-size: cover;
    background-position: center;
    background-color: #003F5C;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

.fade-in-bg {
    opacity: 0;
    animation: fadeInBg 2s ease-in-out forwards;
}

@keyframes fadeInBg {
    from { opacity: 0; }
    to { opacity: 1; }
}

.logo-container {
    display: flex;
    align-items: center;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation: moveLeft 1s ease-in-out 1.2s forwards, bounce 1.5s infinite ease-in-out 2.2s;
}

.logo-container img {
    width: 100px;
    height: auto;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes moveLeft {
    from {
        left: 50%;
        transform: translateX(-50%);
    }
    to {
        left: 10px;
        transform: translateX(0);
    }
}

.logo-text {
    font-family: 'Glacier Indifference', sans-serif;
    font-size: 20px;
    color: white;
    margin-left: 15px;
    opacity: 0;
    white-space: nowrap;
    font-weight: bold;
    animation: fadeInText 1s ease-in-out 1.2s forwards;
}

.republic-text {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: normal;
    color: white;
    text-align: left;
    display: block;
    margin-bottom: 2px;
}

.logo-text span {
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    display: block;
    font-size: 16px;
}

@keyframes fadeInText {
    from { opacity: 0; }
    to { opacity: 1; }
}

.register-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.register-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    animation: fadeIn 1.5s ease-in-out;
}

.register-left h1 {
    font-size: 3.5rem;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1.5s ease-in-out forwards;
}

.register-right {
    flex: 0.4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 5%;
}

.register-box {
    background-color:rgb(255, 255, 255);
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-in-out forwards;
    text-align: center;
}

.register-box h2 {
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;  /* Ensure each field is stacked vertically */
    align-items: stretch;  /* Makes sure inputs take up the full width */
    width: 100%;
}

.form-group input, .form-group select {
    width: 100%; /* Ensure they fill the container */
    padding: 12px;
    margin: 5px 0;
    border: 2px solid #003F5C;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    text-align: left;
    box-sizing: border-box;
}

.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

button {
    background-color: #003F5C;
    color: white;
    width: 100%; /* Make the button fill the container */
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

button:hover {
    background-color: #002B3D;
}

p {
    text-align: center;
    margin-top: 10px;
}

a {
    color: #003F5C;
    text-decoration: none;
    font-weight: bold;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}