/* 
WordDive Login Styling
Focus on premium dark aesthetic matching original image 
*/

.worddive-login-container {
    background-color: #fff;
    min-height: 20vh;
    width: 100%;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
}

.worddive-login-header {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
}

.row.items-center {
    display: flex;
    align-items: center;
}

.justify-between {
    display: flex;
    justify-content: space-between;
}

.worddive-logo {
    font-size: 24px;
    font-weight: 700;
    color: #044a47;
}

.back-to-login {
    font-family: lato, sans-serif !important;
}

.back-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.worddive-login-form-wrapper {
    width: 100%;
    max-width: 550px;
    padding: 20px;
    position: relative;
    text-align: center;
}

.worddive-graphic-icon {
    margin-bottom: 24px;
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.worddive-card {
    text-align: left;
}

.card-title {
    font-size: 28px;
    margin-bottom: 30px;
    margin-top: 0;
    font-weight: 600;
    color: #044a47;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #044a47;
    font-size: 16px;
    font-weight: 700;
    font-family: lato, sans-serif !important;
}

.card-subtitle {
    font-family: lato, sans-serif !important;
    margin-bottom: 10px;
}

.form-links {
    margin-top: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 20px;
    border: none;
    border-radius: 1.5rem;
    font-size: 1.8rem;
    background-color: #1cc4b91c;
    color: #044a47;
    font-family: lato, sans-serif !important;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #044a47;
    background: rgba(0, 0, 0, 0.2);
}

.password-field-wrapper {
    position: relative;
}

.password-field-wrapper input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
}

.toggle-password svg {
    color: #000;
}

.forgot-password-link {
    display: block;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 30px;
    transition: color 0.3s;
}

.form-footer {
    justify-self: center;
}

.submit-btn {
    border: 0;
    line-height: normal;
    overflow: visible;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: all .2s ease-in-out;
    background: #e7742f;
    border-radius: 1.5rem;
    border-width: 1px;
    color: #fff;
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    vertical-align: baseline;
    font-family: anchor-web, sans-serif;
    font-size: 3.4rem;
}

.submit-btn:active {
    transform: scale(0.98);
}

.submit-btn:hover {
    background-color: #01C8B4;
}

/* Loading state - grey button while submitting */
.submit-btn.loading {
    background-color: #999999 !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
    pointer-events: none !important;
    transform: none !important;
}

.submit-btn.loading:hover {
    background-color: #999999 !important;
}

.form-feedback {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    min-height: 20px;
}

.form-feedback.error {
    color: #ff5252;
}

.form-feedback.success {
    color: #044a47;
}

.d-none {
    display: none !important;
}

/* Tab Layout */
.worddive-tabs {
    display: inline-flex;
    background-color: #d1d5db;
    padding: 6px;
    border-radius: 8px;
    margin-bottom: 24px;
    gap: 4px;
}

.worddive-tab {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.worddive-tab:hover {
    color: #044a47;
}

.worddive-tab.active {
    background-color: #ffffff;
    color: #044a47;
    border-color: #1cc4b9;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}