.reset-password-button-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #ffffff;
  border-radius: 50%;
  animation: reset-password-spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes reset-password-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.reset-password-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.reset-password-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: space-between;
}

.reset-password-logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: -10px;
    width: 80px;
    height: 80px;
    position: absolute;
    top: 10px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reset-password-logo-background {
    display: none;
}

.reset-password-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
}

.reset-password-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.reset-password-form-group {
    margin-bottom: 15px;
    position: relative;
}

.reset-password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
}

.reset-password-form-container {
    margin-top: 50px;
    flex-grow: 1;
}

.reset-password-input {
    width: 100%;
    padding: 28px;
    border: 1px solid #ccc;
    border-radius: 25px;
    background-color: #fff;
    color: #000;
    font-size: 0.9rem;
    box-sizing: border-box;
    height: 65px;
}

.reset-password-input:focus {
    outline: 2px solid #1877F2;
    border-color: #1877F2;
}

.reset-password-button-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 0;
}

.reset-password-bottom-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
}

.reset-password-button {
    width: 100%;
    padding: 18px; /* Reduced from 22px */
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

#resetPasswordBtn {
    background-color: #1877F2;
    color: #fff;
}

.skip-reset-button {
    width: 100%;
    padding: 18px; /* Reduced from 22px */
    border: 1px solid #1877F2;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    background-color: transparent;
    color: #1877F2;
}

.skip-reset-button:hover {
    background-color: rgba(24, 119, 242, 0.1);
}

.reset-password-button:hover {
    opacity: 0.9;
}

.reset-password-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.reset-password-error {
    color: #f4212e;
    margin-top: 10px;
    font-size: 0.8rem;
}

.reset-password-success {
    color: #34A853;
    margin-top: 10px;
    font-size: 0.8rem;
}

.reset-password-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0,0,0,.3);
    border-radius: 50%;
    border-top-color: #000;
    animation: reset-password-spin 1s ease-in-out infinite;
}

@keyframes reset-password-spin {
    to { transform: rotate(360deg); }
}

.reset-password-loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Dark Mode Overrides */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #101010;
        color: #fff;
    }

    .reset-password-input {
        background-color: #101010;
        color: #fff;
        border: 1px solid #333;
    }

    .reset-password-spinner {
        border: 2px solid rgba(255,255,255,.3);
        border-top-color: #fff;
    }

    .reset-password-loading-container {
        background-color: rgba(0, 0, 0, 0.8);
    }

    .skip-reset-button {
        border-color: #1877F2;
        color: #1877F2;
    }
}
