﻿
/* NewLoginPage Styles */
.newLoginPage-reset {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.newLoginPage-body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

/* Keep existing background image */
.fullscreen-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.fullscreen-bg__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.newLoginPage-mainContainer {
    display: grid;
    gap: 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    width: 100%;
    min-height: 700px;
}

    .newLoginPage-mainContainer.single-column {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .newLoginPage-mainContainer.two-column {
        grid-template-columns: 1fr 1fr;
        max-width: 1200px;
    }

.newLoginPage-loginSection {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.newLoginPage-translationSection {
    padding: 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-left: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.newLoginPage-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.newLoginPage-logoIcon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.newLoginPage-logoText {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
}

.newLoginPage-loginForm h2 {
    font-size: 32px;
    color: #1a202c;
    margin-bottom: 8px;
    font-weight: 700;
}

.newLoginPage-loginForm p {
    color: #718096;
    margin-bottom: 32px;
    font-size: 16px;
}

.newLoginPage-formGroup {
    margin-bottom: 24px;
}

    .newLoginPage-formGroup label {
        display: block;
        margin-bottom: 8px;
        color: #4a5568;
        font-weight: 500;
    }

    .newLoginPage-formGroup input {
        width: 100%;
        padding: 16px;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        font-size: 16px;
        transition: all 0.3s ease;
        background: #f7fafc;
    }

        .newLoginPage-formGroup input:focus {
            outline: none;
            border-color: #667eea;
            background: white;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

.newLoginPage-loginBtn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

    .newLoginPage-loginBtn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    }

.newLoginPage-forgotPassword {
    text-align: center;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 24px;
    display: block;
}

.newLoginPage-registerLink {
    text-align: center;
    color: #718096;
    margin-bottom: 40px;
    margin-top: 20px;
}

    .newLoginPage-registerLink a {
        color: #667eea;
        text-decoration: none;
        font-weight: 600;
    }

.newLoginPage-footerText {
    text-align: center;
    color: #a0aec0;
    font-size: 14px;
    line-height: 1.5;
    margin-top: auto;
    padding-top: 20px;
}

    .newLoginPage-footerText .copyright {
        margin-bottom: 4px;
    }

    .newLoginPage-footerText .tagline {
        font-weight: 500;
        color: #718096;
    }

/* Translation Section Styles */
.newLoginPage-tryTranslationHeader {
    margin-bottom: 32px;
}

    .newLoginPage-tryTranslationHeader h3 {
        font-size: 28px;
        color: #1a202c;
        margin-bottom: 8px;
        font-weight: 700;
    }

    .newLoginPage-tryTranslationHeader p {
        color: #718096;
        font-size: 16px;
    }

.newLoginPage-highlightBadge {
    display: inline-block;
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newLoginPage-uploadArea {
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    margin-bottom: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

    .newLoginPage-uploadArea:hover {
        border-color: #667eea;
        background: #f8fafc;
    }

.newLoginPage-uploadIcon {
    width: 48px;
    height: 48px;
    background: #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #718096;
}

.newLoginPage-uploadText {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 4px;
}

.newLoginPage-uploadSubtext {
    color: #718096;
    font-size: 14px;
}

.newLoginPage-languageRow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.newLoginPage-formGroupTrans {
    margin-bottom: 16px;
}

    .newLoginPage-formGroupTrans label {
        display: block;
        margin-bottom: 8px;
        color: #4a5568;
        font-weight: 500;
        font-size: 14px;
    }

    .newLoginPage-formGroupTrans select {
        width: 100%;
        padding: 12px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        font-size: 14px;
        background: white;
        cursor: pointer;
    }

.newLoginPage-documentFormat {
    margin-bottom: 24px;
}

.newLoginPage-formatOptions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.newLoginPage-formatOption {
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    text-align: center;
}

    .newLoginPage-formatOption.selected {
        border-color: #667eea;
        background: #ebf4ff;
    }

.newLoginPage-formatIcon {
    width: 32px;
    height: 32px;
    background: #f7fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    color: #667eea;
}

.newLoginPage-formatOption.selected .newLoginPage-formatIcon {
    background: #667eea;
    color: white;
}

.newLoginPage-formatTitle {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 4px;
    font-size: 14px;
}

.newLoginPage-formatDesc {
    color: #718096;
    font-size: 12px;
}

.newLoginPage-recommendedBadge {
    background: #48bb78;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 4px;
}

.newLoginPage-costSummary {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.newLoginPage-costRow {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #4a5568;
}

    .newLoginPage-costRow:last-child {
        margin-bottom: 0;
        padding-top: 12px;
        border-top: 1px solid #e2e8f0;
        font-weight: 600;
        color: #1a202c;
    }

.newLoginPage-costValue {
    font-weight: 600;
}

.newLoginPage-freeBadge {
    background: #48bb78;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.newLoginPage-creditBalance {
    color: #48bb78;
    font-weight: 600;
}

.newLoginPage-tryNowBtn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .newLoginPage-tryNowBtn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(72, 187, 120, 0.3);
    }

    .newLoginPage-tryNowBtn:disabled {
        background: #e2e8f0;
        color: #a0aec0;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

/* Modal Styles */
.newLoginPage-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

    .newLoginPage-modal.show {
        display: flex;
    }

.newLoginPage-modalContent {
    background: white;
    border-radius: 16px;
    padding: 32px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.newLoginPage-modal h3 {
    font-size: 24px;
    color: #1a202c;
    margin-bottom: 16px;
}

.newLoginPage-modal p {
    color: #718096;
    margin-bottom: 24px;
}

.newLoginPage-otpInput {
    width: 100%;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 18px;
    text-align: center;
    letter-spacing: 4px;
    margin-bottom: 24px;
}

.newLoginPage-modalButtons {
    display: flex;
    gap: 12px;
}

.newLoginPage-modalBtn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

    .newLoginPage-modalBtn.primary {
        background: #667eea;
        color: white;
    }

    .newLoginPage-modalBtn.secondary {
        background: #e2e8f0;
        color: #4a5568;
    }

/* Alert Styles */
.newLoginPage-alert {
    background: #fed7d7;
    color: #c53030;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid #feb2b2;
}

/* File Preview Styles */
.newLoginPage-filePreview {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 24px;
    display: none;
    align-items: center;
    gap: 12px;
}

.newLoginPage-fileIcon {
    width: 32px;
    height: 32px;
    background: #ebf4ff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
}

.newLoginPage-fileInfo {
    flex: 1;
}

.newLoginPage-fileName {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 2px;
}

.newLoginPage-fileSize {
    color: #718096;
    font-size: 12px;
}

.newLoginPage-removeFile {
    background: #fed7d7;
    color: #e53e3e;
    border: none;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .newLoginPage-mainContainer.two-column {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .newLoginPage-translationSection {
        border-left: none;
        border-top: 1px solid #e2e8f0;
    }
}

@media (max-width: 768px) {
    .newLoginPage-loginSection {
        padding: 40px 24px;
    }

    .newLoginPage-translationSection {
        padding: 24px;
    }

    .newLoginPage-languageRow {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .newLoginPage-formatOptions {
        grid-template-columns: 1fr;
    }
}


