/* CSS code for styling the registration form */
* {
    padding: 0;
    margin: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}

h2{
    padding-top: 20px;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: linear-gradient(#e8eaebf8, #fff);
}


.Container {
    max-width: 650px; /* Maximum width of the container */
    padding: 28px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(43, 210, 240, 0.699);
    box-shadow: 0 15px 20px rgba(34, 34, 34, 0.6);
    position: relative; /* Added position relative for absolute positioning */
}

h2 {
    font-size: 26px; /* Font size of the heading */
    font-weight: bold;
    text-align: center;
    color: #1a1919cb; /* Color of the heading */
    padding-bottom: 8px;
    border-bottom: 1px solid silver; /* Bottom border for the heading */
}

.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px 0; /* Padding around the content */
}

.input-box {
    display: flex;
    flex-wrap: wrap;
    width: 50%; /* Set width to 50% for two input boxes per row */
    padding-bottom: 15px;
}

.input-box:nth-child(2n) {
    justify-content: end;
}

.input-box label,
.gender-title {
    width: 95%; /* Width of the labels */
    color: #fff; /* Color of the labels */
    font-weight: bold;
    margin: 5px 0;
}

.gender-title {
    font-size: 16px; /* Font size of the gender title */
}

.input-box input {
    height: 40px; /* Height of the input fields */
    width: 95%; /* Width of the input fields */
    padding: 0 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    outline: none;
}

.input-box input:focus,
.input-box input:valid {
    box-shadow: 0 3px 6px rgba(73, 73, 73, 0.959);
}

.gender-category label {
    padding: 0 20px 0 5px;
    font-size: 14px; /* Font size of the gender category labels */
}

.gender-category {
    color: rgb(27, 27, 27);
}

.gender-category label,
.gender-category input {
    cursor: pointer;
}

.alert p {
    font-size: 14px; /* Font size of the alert message */
    font-style: italic;
    color: #272626; /* Color of the alert message */
    margin: 5px 0;
    padding: 10px;
    line-height: 1.5;
}

.alert a {
    font-weight: bold;
    text-decoration: none;
    color: #272626; /* Color of the alert message links */
}

.alert a:hover {
    font-weight: bold;
    text-decoration: underline;
    color: #003238; /* Color of the alert message links on hover */
}

.button-container {
    margin: 15px 0;
}

.button-container button {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    display: block;
    font-size: 20px; /* Font size of the buttons */
    color: #fff; /* Text color of the buttons */
    border: none;
    border-radius: 5px;
    background-image: linear-gradient(to right, #09bad1, #1edbe9);
    cursor: pointer;
    transition: 0.3s;
}

.button-container button:hover {
    background-image: linear-gradient(to right, #1aafd4, #4ac9e2);
}

/* Close button styles */

.close-button {
    font-size: 10px;
    width: 100px;
    padding: 5px;
    border-radius: 5px;
    border: none;
    background-image: linear-gradient(to right, #09bad1, #1edbe9);
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px; /* Font size of the close button */
    cursor: pointer;
    color: #fff; /* Color of the close button */
    transition: 0.3s;
}

.close-button:hover{
    background-image: linear-gradient(to right, #1aafd4, #4ac9e2);
}

/* Sa iyong CSS file */
.success-message i {
    font-size: 2em; /* Baguhin ang laki ng icon ayon sa iyong kagustuhan */
    vertical-align: middle; /* Ilagay ang icon sa gitna ng teksto */
}
/* Sa iyong CSS file */
.success-message button {
    border: 2px solid#61045f, #aa076b;
    border-radius: 5px;
    background-color: white;
    color: #61045f, #aa076b;
    padding: 5px 10px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.success-message button:hover {
    background-color: #61045f, #aa076b;
    color: rgb(29, 29, 29);
}


/* Success message with white border */
.success-message {
    width: 350px;
    height: 200px;
    background: #ffffffe8;
    border-radius: 6px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    padding: 30px 30px;
    color: #333;
    display: grid;
    justify-content: center;
    align-items: flex-start; /* Align items to the top */
    text-align: center;
    z-index: 9999;
    visibility: hidden;
    transition: transform 0.2s, visibility 0.2s;
}

.success-message h2 {
    font-size: 24px;
    color: #2b2a2b;
}


.success-message.active {
    transform: translate(-50%, -50%) scale(1);
    visibility: visible;
}

.success-message img {
    width: 100px;
    justify-self: center;
    margin-top: -30%;
    box-shadow: #292828e7;
}

.error {
    color: red; /* Baguhin ang kulay ng mensahe sa pula */
}