.success .alert-title {
    color: #000080;
}

.conflict .alert-title {
    color: red;
}

.success {
    border: 6px solid #000080;
    background-color: #ebebff;
}

.conflict {
    border: 6px solid red;
    background-color: #ffebeb;
}

/* Styles for the custom alert */
.custom-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    min-width: 30%;
    text-align: center;
    z-index: 9999;
}

.alert-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 30px;
    text-align: left;
}

.alert-image img {
    width: 120px;
    height: 120px;
}

.alert-message-contain {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
}

@media (width<765px) {
    .alert-message-contain{
        flex-direction: column-reverse;
    }

    .custom-alert {
        width: 80%;
    }
}

.alert-message {
    margin: 20px;
    text-align: left;
    font-size: 20px;
    word-wrap: break-word;
}

.btn-layer {
    display: flex;
    flex-direction: column;
    align-content: flex-end;
    flex-wrap: wrap;
}

.modal {
    justify-content: center;
}

.modalstyle {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}



.modal-content {
    margin: 20px;
    padding: 10px;
    height: 660px;
}

.forms {
    display: flex;
    width: 100%;
    justify-content: center;
}



.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
}



.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 500px;
    max-width: 1000px;
    overflow: auto;
}

.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.inmodal {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

button {
    border: 3px solid #450374;
    color: #450374;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    width: 150px;
    max-width: 200px;
    font-size: 18px;
    transition: box-shadow 3s;
    align-items: center;
    margin: 5px;
    /* Add a smooth transition effect for the box shadow */
}

button:hover {
    background-color: #450374;
    color: #fff;
    box-shadow: 4px 4px 4px 4px rgba(0, 0, 0, 0.3);
}

.btn button {
    border: 3px solid #000080;
    color: #000080;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
    width: 600px;
    max-width: 200px;
    font-size: 18px;
    transition: box-shadow 3s;
    align-items: center;
    /* Add a smooth transition effect for the box shadow */
}

.btn button:hover {
    background-color: #000080;
    color: #fff;
    box-shadow: 4px 4px 4px 4px rgba(0, 0, 0, 0.3);
    /* Add a box shadow on hover */
}

.btn {
    display: flex !important;
    align-items: center;
    flex-direction: row;
    gap: 40px;
}

@media (width<500px) {
    .btn {
        flex-wrap: wrap;
        gap: 10px;

    }

    .registration_container {
        width: 100% !important;
    }
}