/**
 * Confirm Reset Password CSS
 * This file contains the CSS styles for the confirm reset password page
 */

/* Message Alert Styles */
.message-container {
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    z-index: 99999;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    background: transparent;
    pointer-events: none;
}

.message-container .message {
    pointer-events: auto;
}

.message {
    padding: 16px 24px;
    border-radius: 4px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    animation: messageFadeIn 0.3s ease-out;
    width: auto;
    max-width: 90%;
}

.message.error {
    background-color: #fef0f0;
    border: 1px solid #fde2e2;
    color: #f56c6c;
}

.message.success {
    background-color: #f0f9eb;
    border: 1px solid #e1f3d8;
    color: #67c23a;
}

.message.info {
    background-color: #ecf5ff;
    border: 1px solid #d9ecff;
    color: #409eff;
}

.message.warning {
    background-color: #fdf6ec;
    border: 1px solid #faecd8;
    color: #e6a23c;
}

.message-icon {
    margin-right: 10px;
    font-size: 16px;
}

.message-content {
    flex: 1;
    font-size: 14px;
}

.message-close {
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.message-close:hover {
    opacity: 1;
}

@keyframes messageFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes messageFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Reset Password Section */
.reset-password-section {
    background-color: #ffffff;
    padding: 30px 20px;
}

@media (min-width: 768px) {
    .reset-password-section {
        padding: 50px 300px;
    }
}

.reset-password-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reset-password-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #111827;
}

@media (min-width: 768px) {
    .reset-password-title {
        font-size: 36px;
        margin-bottom: 12px;
    }
}

.reset-password-description {
    font-size: 14px;
    color: rgba(28, 28, 28, 0.70);
    text-align: center;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .reset-password-description {
        font-size: 16px;
        margin-bottom: 20px;
    }
}

.reset-password-form {
    width: 100%;
    max-width: 600px;
}

.form-row {
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

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

.form-row .form-group {
    width: 335px;
}

@media (min-width: 768px) {
    .form-row {
        gap: 32px;
    }

    .form-row .form-group {
        width: 405px;
    }

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    .form-label {
        font-size: 16px;
    }
}

.required {
    color: #ef4444;
}

.form-control {
    width: 100%;
    height: 45px;
    padding: 12px 16px;
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-control:focus {
    outline: none;
    border-color: #BE930B;
    box-shadow: 0 0 0 2px #BE930B;
}

.form-actions {
    display: flex;
    justify-content: center;
    font-size: 14px;
}

@media (min-width: 768px) {
    .form-actions {
        font-size: 16px;
    }
}

.btn {
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    cursor: pointer;
}

.btn-primary {
    background-color: #BE930B;
    color: #ffffff;
    border: 1px solid #BE930B;
}

.btn-primary:hover {
    background-color: #d4a612;
    border-color: #d4a612;
}

.back-link {
    color: #BE930B;
    text-decoration: underline;
    transition: color 0.2s ease-in-out;
}

.back-link:hover {
    color: #d4a612;
}
