﻿@font-face {
    font-family: 'Material Icons Outlined';
    src: url('../fonts/MaterialIcons-Outlined.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

body {
    padding-top: 0px !important;
    background-color: #ffffff;
    font-family: Averta, avertabold, 'San Francisco', Roboto, 'Segoe UI', 'Helvetica Neue', 'Lucida Grande', Arial, sans-serif;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 60px;
}

.page-main {
    margin-top: 0px;
    height: auto;
    flex: 1;
}

.footer-company {
    height: 120px;
    flex: 0 0 auto;
    background-color: #31383d;
    /*margin-top: 4rem;*/
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 16px;
    /*margin-top: auto;*/
    flex-direction: column;
}

.material-icons-outlined {
    font-family: 'Material Icons Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}



.login-drawer-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.login-modal-container {
    width: 100%;
    max-width: 720px;
    margin: 20px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.auth-card {
    width: 100%;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid #eef2f6;
    background: #fafbfc;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 18px 0;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: #6b7a86;
    border-bottom: 3px solid transparent;
}

    .auth-tab.active {
        color: #409EFF;
        border-bottom-color: #409EFF;
        background: #fff;
    }

    .auth-tab:hover:not(.active) {
        color: #5e6f8d;
        background: #f5f7fa;
    }

.auth-form {
    padding: 2rem 2rem 2rem 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #2d3e50;
}

    .form-label .required {
        color: #f56c6c;
        margin-left: 2px;
    }

.custom-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    transition: all 0.3s;
    outline: none;
    font-family: inherit;
}

    .custom-input:focus {
        border-color: #409EFF;
        box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
    }

    .custom-input.error {
        border-color: #f56c6c;
    }

.error-message {
    color: #f56c6c;
    font-size: 12px;
    margin-top: 6px;
    display: block;
}

.auth-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.auth-btn-primary {
    background: #409EFF;
    color: #fff;
}

    .auth-btn-primary:hover {
        background: #66b1ff;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
    }

    .auth-btn-primary:active {
        transform: translateY(0);
    }

    .auth-btn-primary:disabled {
        background: #a0cfff;
        cursor: not-allowed;
        transform: none;
    }

.auth-footer {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eef2f6;
    font-size: 13px;
    color: #9aa8b5;
}

    .auth-footer a {
        color: #409EFF;
        text-decoration: none;
        cursor: pointer;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    z-index: 2010;
}

    .close-modal:hover {
        color: #333;
    }

@media (max-width: 768px) {
    .login-modal-container {
        margin: 10px;
        max-width: calc(100% - 20px);
    }

    .auth-form {
        padding: 1.5rem;
    }

    .auth-tab {
        padding: 14px 0;
        font-size: 16px;
    }
}

.dropdown-col-text {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .dropdown-col-text:hover {
        color: #409EFF;
        text-decoration: underline;
    }

.dropdown-row {
    display: flex;
    flex-direction: row;
    gap: 4px;
    min-width: 150px;
}
