/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: #f0f0f0 url('background-image.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

.container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.logo img {
    width: 150px;
}

.form-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 350px;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        gap: 30px;
    }

    .logo img {
        width: 120px;
    }

    .form-container {
        width: 100%;
        max-width: 350px;
    }
}

h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1a1a1a;
    text-align: center;
}

.subtext {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
    text-align: center;
}

.subtext span {
    color: #666;
}

.subtext a {
    color: #00a3a3;
    text-decoration: none;
}

.subtext a:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    text-align: left;
    font-size: 12px;
    color: #000;
    margin-bottom: 5px;
}

input {
    width: 280px;
    height: 38px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: #00a3a3;
    box-shadow: 0 0 0 2px rgba(0, 163, 163, 0.2);
}

input.error-border,
input[aria-invalid="true"] {
    border: 2px solid #e63946;
}

.error {
    color: #e63946;
    font-size: 12px;
    margin-bottom: 10px;
    display: none;
    text-align: left;
}

.error.active {
    display: block;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.help-link {
    font-size: 14px;
    color: #666;
    text-decoration: none;
}

.help-link:hover {
    text-decoration: underline;
}

button {
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
    background: #333;
}

button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.3);
}

button:disabled {
    background: #666;
    cursor: not-allowed;
}

.btn-text, .btn-loading {
    display: inline-block;
}

.btn-loading {
    display: none;
}

.btn-loading.active {
    display: inline-block;
}

.btn-text.hidden, .btn-loading.hidden {
    display: none;
}

.hidden {
    display: none;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    padding: 20px 25px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.modal-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.modal-content-body {
    margin-bottom: 20px;
    text-align: left;
}

.modal-content-body p {
    margin: 0;
    line-height: 1.5;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

.modal-buttons button {
    padding: 10px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

#modalConfirmBtn {
    background: #00a3a3;
    color: #fff;
}

#modalConfirmBtn:hover {
    background: #008080;
}

#modalConfirmBtn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 163, 163, 0.3);
}

#modalCancelBtn {
    background: #e63946;
    color: #fff;
}

#modalCancelBtn:hover {
    background: #cc3333;
}

#modalCancelBtn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.3);
}