html, body { height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; background: #f7f9fc; }
/* Loading overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    z-index: 100;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(82, 96, 255, 0.1);
    border-radius: 50%;
    border-top-color: #5260ff;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.loading-text {
    color: #5260ff;
    font-weight: 500;
    font-size: 16px;
}
.reset-container {
    max-width: 600px;
    margin: 60px auto 0 auto;
    background: #fff;
    min-height: 750px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(82,96,255,0.10), 0 2px 8px rgba(0,0,0,0.04);
    padding: 0 0 32px 0;
    overflow: hidden;
    margin-bottom: 30px;
}
.reset-header {
    background: linear-gradient(90deg, #5260ff 0%, #7be141 100%);
    padding: 36px 0 24px 0;
    text-align: center;
}
.reset-header .reset-icon {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 10px;
}
.reset-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 8px;
}
.reset-desc {
    color: #e6eeff;
    font-size: 1.05rem;
    text-align: center;
    margin-bottom: 0;
}
.reset-form {
    padding: 32px 32px 0 32px;
    margin-bottom: 32px;
}
.form-group { margin-bottom: 22px; position: relative; }
.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #444;
    font-size: 1rem;
    font-weight: 500;
}
.form-group .input-icon {
    position: absolute;
    left: 12px;
    bottom: 0;
    display: flex;
    align-items: center;
    height: 100%;
    pointer-events: none;
    color: #b3b3b3;
    font-size: 1.08rem;
    z-index: 2;
    padding-top: 28px;
}
.form-group input {
    width: 100%;
    padding: 11px 12px 11px 36px;
    border: 1.5px solid #e0e0e0;
    border-radius: 7px;
    font-size: 1rem;
    transition: border 0.2s, box-shadow 0.2s;
    background: #f7f9fc;
}
.form-group input:focus {
    border-color: #5260ff;
    box-shadow: 0 0 0 2px #5260ff22;
    outline: none;
    background: #fff;
}
.verify-row {
    display: flex;
    gap: 10px;
    position: relative;
}
.verify-row input {
    flex: 1;
    position: relative;
}
.verify-btn {
    padding: 0 18px;
    background: linear-gradient(90deg, #5260ff 0%, #7be141 100%);
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.13s;
    box-shadow: 0 2px 8px rgba(82,96,255,0.10);
}
.verify-btn:hover {
    background: linear-gradient(90deg, #4251e8 0%, #5260ff 100%);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px rgba(82,96,255,0.18);
}
.reset-btn {
    width: 100%;
    padding: 13px 0;
    background: linear-gradient(90deg, #5260ff 0%, #7be141 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.13s;
    box-shadow: 0 2px 8px rgba(82,96,255,0.10);
}
.reset-btn:hover {
    background: linear-gradient(90deg, #4251e8 0%, #5260ff 100%);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 16px rgba(82,96,255,0.18);
}
.back-login {
    display: block;
    text-align: center;
    margin-top: 22px;
    color: #5260ff;
    text-decoration: underline;
    font-size: 1rem;
}
@media (max-width: 500px) {
    .reset-container { padding: 0; }
    .reset-form { padding: 18px 4px 0 4px; }
}
.custom-modal {
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.18);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-modal-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(82,96,255,0.13);
    padding: 36px 32px 28px 32px;
    min-width: 260px;
    max-width: 90vw;
    text-align: center;
}
.custom-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #5260ff;
    margin-bottom: 16px;
}
.custom-modal-desc {
    color: #444;
    font-size: 1.08rem;
    margin-bottom: 28px;
}
.custom-modal-btn {
    padding: 10px 36px;
    background: linear-gradient(90deg, #5260ff 0%, #7be141 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(82,96,255,0.10);
}
.custom-modal-btn:hover {
    background: linear-gradient(90deg, #4251e8 0%, #5260ff 100%);
}