/* WPMS External Login Stylesheet */
:root {
    --bg-dark-teal: #043c36;
    --bg-dark-teal-hover: #032e29;
    --bg-light: #ffffff;
    --bg-slate: #f8fafc;
    --text-primary: #0f172a;
    --text-muted: #64748b;
    --border-color: #d1d5db;
    --border-focus: #043c36;
    --input-bg: #ffffff;
    --link-color: #043c36;
    --danger-color: #dc2626;
    --danger-bg: #fef2f2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    color: var(--text-primary);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Main Split Viewport */
.login-container {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Left Form Section */
.left-form-section {
    background-color: #ffffff;
    padding: 50px 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    overflow-y: auto;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.brand-logo-icon {
    width: 36px;
    height: 36px;
    background-color: #043c36;
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.brand-logo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #043c36;
    letter-spacing: -0.3px;
}

.form-content-box {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.welcome-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.welcome-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 30px;
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-field {
    width: 100%;
    height: 48px;
    padding: 0 42px 0 42px;
    font-size: 0.925rem;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--input-bg);
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-field:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(4, 60, 54, 0.12);
}

.input-field-icon {
    position: absolute;
    left: 14px;
    color: #9ca3af;
    font-size: 1rem;
    pointer-events: none;
}

.toggle-password-btn {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.toggle-password-btn:hover {
    color: #4b5563;
}

.forgot-password-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

.forgot-password-link {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--link-color);
    text-decoration: none;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    height: 48px;
    background-color: var(--bg-dark-teal);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 10px;
    margin-bottom: 20px;
}

.btn-submit:hover {
    background-color: var(--bg-dark-teal-hover);
}

.divider-container {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.divider-line {
    flex: 1;
    border: none;
    border-top: 1px solid #e5e7eb;
}

.divider-text {
    padding: 0 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
}

.social-btns-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.btn-social {
    width: 100%;
    height: 44px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-social:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.footer-prompt {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-prompt-link {
    font-weight: 600;
    color: var(--link-color);
    text-decoration: none;
}

.footer-prompt-link:hover {
    text-decoration: underline;
}

/* Alert Box */
.alert-error {
    padding: 12px 16px;
    border-radius: 8px;
    background-color: var(--danger-bg);
    border: 1px solid #fecaca;
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Right Feature Hero Section */
.right-hero-section {
    background-color: #043c36;
    color: #ffffff;
    padding: 60px 70px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    overflow-y: auto;
}

.hero-content {
    max-width: 520px;
    margin: auto 0;
}

.hero-main-title {
    font-size: 2.75rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.quote-icon {
    font-size: 2rem;
    color: #2dd4bf;
    margin-bottom: 12px;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e6f4f1;
    margin-bottom: 30px;
    font-style: italic;
    font-weight: 300;
}

.author-info-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #0f766e;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid #2dd4bf;
}

.author-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.author-role {
    font-size: 0.825rem;
    color: #99f6e4;
}

.hero-bottom-section {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trusted-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #5eead4;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 16px;
    align-items: center;
}

.client-logo-item {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

.client-logo-item i {
    font-size: 1.1rem;
}

/* Footer copyright notice */
.footer-copyright {
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 20px;
}

/* Responsive breakpoint */
@media (max-width: 992px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    .right-hero-section {
        display: none;
    }
    .left-form-section {
        padding: 40px 30px;
    }
}
