main#content {
    padding-top: 50px;
    padding-bottom: 90px;

    .entry-title {
        text-align: center;
        margin-top: 0;
        margin-bottom: 35px;
    }
}

.custom-register-form {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    margin: 0 auto;

    input[type="submit"] {
        margin-top: 15px;

        &:focus {
            background-color: #B99F1D;
        }
    }

    a {
        color: #B99F1D !important;
        text-decoration: none !important;
        font-size: 0.85rem;
        margin-top: 0;

    }
}

.custom-register-form p {
    margin-bottom: 0;
}

label {
    display: block;
    font-size: 0.85rem;
    color: #444;
    margin-bottom: 0.4rem;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 0.6rem;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #B99F1D;
    outline: none;
}

input[type="submit"] {
    width: 100%;
    padding: 0.7rem;
    background-color: #B99F1D;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #B99F1D;
}

a:hover {
    text-decoration: underline;
}

.custom-register-button {
    display: inline-block;
    margin-top: 0.8rem;
}

@media (max-width: 480px) {
    .custom-register-form {
        padding: 1.2rem;   
    }
    main#content{
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Error messages */
form.custom-register-form .error {
    color: #d9534f;
    margin-bottom: 10px;
    font-weight: bold;
}

.custom-error-messages {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin: 0 auto;
    max-width: 350px;
    margin-bottom: 30px;
}

.custom-error-messages strong {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.custom-error-messages ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}
.success {
    padding: 12px 20px;
    margin-bottom: 20px;
    border: 1px solid #4CAF50;
    background-color: #dff0d8;
    /* Light green background */
    color: #3c763d;
    /* Dark green text */
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    max-width: 350px;
    margin: 0 auto;
    margin-bottom: 30px;
}