* {
    margin: 0;
    padding: 0;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #013220; /* Dark Green */
    /* background-image: url('your-image.jpg'); Uncomment this line and add your image URL */
    background-size: cover;
    background-position: center;
}

.container {
    max-width: 650px;
    padding: 14px;
    margin: 0 28px;
    box-shadow: 0 15px 20px #ABB2B9;
    background-color: rgba(255, 255, 255, 0.9); /* Light background for readability */
    border-radius: 10px;
}

h1 {
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    color: #013220; /* Dark Green for contrast */
    padding-bottom: 8px;
    border-bottom: 1px solid silver;
}

.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px 0;
}

.input-box {
    display: flex;
    flex-wrap: wrap;
    width: 50%;
    padding-bottom: 15px;
}

    .input-box select {
        padding: 13px 40px;
        background-color: #fff;
        border-radius: 8px;
    }

    .input-box:nth-child(2n) {
        justify-content: end;
    }

    .input-box label {
        width: 95%;
        color: #013220; /* Dark Green for contrast */
        font-weight: bold;
        margin: 5px 0;
    }

    .input-box input {
        height: 40px;
        width: 95%;
        padding: 0 10px;
        border-radius: 10px;
        border: 1px solid #ccc;
        outline: none;
    }

        .input-box input:is(:focus,:valid) {
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
        }

.alert p {
    font-size: 14px;
    font-style: italic;
    color: dimgray;
    margin: 5px;
    padding: 10px;
}

.alert a {
    text-decoration: none;
}

    .alert a:hover {
        text-decoration: underline;
    }

.button-container {
    margin: 15px 0;
}

    .button-container button {
        width: 100%;
        margin-top: 10px;
        padding: 10px;
        display: block;
        font-size: 20px;
        border: none;
        color: #fff;
        border-radius: 5px;
        background-image: linear-gradient(to right,#aa076b,#61045f);
    }

        .button-container button:hover {
            background-image: linear-gradient(to right,#61045f,#aa076b);
        }

@media(max-width:600px) {
    .container {
        min-width: 280px;
    }

    .content {
        max-height: 380px;
        overflow: auto;
    }

    .input-box {
        margin-bottom: 12px;
        width: 100%;
    }

        .input-box:nth-child(2n) {
            justify-content: space-between;
        }
}

.register-button {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    font-size: 20px;
    border: none;
    color: #fff;
    border-radius: 5px;
    background-image: linear-gradient(to right, #aa076b, #61045f); /* Same as background */
    cursor: pointer;
}

    .register-button:hover {
        background-image: linear-gradient(to right, #61045f, #aa076b); /* Reverse on hover */
    }

.error {
    color: red;
    font-size: 14px;
    font-weight: bold;
}
