/* login.css - Стили для страницы входа в MSPlan */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    padding: 20px;
}

.login-box {
    width: 400px;
    max-width: 100%;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #1e3799;
}

    .logo i {
        font-size: 2.5rem;
    }

    .logo h1 {
        font-size: 2.5rem;
        font-weight: 700;
    }

.login-subtitle {
    margin-bottom: 30px;
    color: #666;
    font-size: 1rem;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

    .input-group i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
    }

    .input-group input {
        width: 100%;
        padding: 12px 15px 12px 45px;
        border: 2px solid #e1e8ed;
        border-radius: 10px;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

        .input-group input:focus {
            outline: none;
            border-color: #4a69bd;
            box-shadow: 0 0 0 3px rgba(74, 105, 189, 0.1);
        }

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4a69bd 0%, #1e3799 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(74, 105, 189, 0.3);
    }

.error-message {
    color: #f44336;
    background-color: #ffebee;
    border: 1px solid #f44336;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none; /* Скрыт по умолчанию */
    text-align: left;
}

.copy-path-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
}

    .copy-path-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    }

    .copy-path-btn:active {
        transform: translateY(0);
    }

.instruction-box {
    background: #e8f4fd;
    border: 1px solid #b6e0fe;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    animation: fadeIn 0.5s ease;
}

.instruction-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

    .instruction-header i {
        color: #1e88e5;
        font-size: 20px;
    }

    .instruction-header h3 {
        margin: 0;
        color: #1e88e5;
        font-size: 16px;
    }

.instruction-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.step-number {
    background: #1e88e5;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 1px;
}

.step-text {
    color: #333;
    font-size: 13px;
    line-height: 1.4;
    flex: 1;
}

.path-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border-radius: 5px;
    border: 1px dashed #1e88e5;
    font-size: 12px;
}

    .path-preview i {
        color: #1e88e5;
        flex-shrink: 0;
    }

    .path-preview code {
        background: none;
        color: #333;
        font-family: 'Courier New', monospace;
        font-size: 11px;
        word-break: break-all;
        line-height: 1.3;
    }

.drop-zone {
    border: 2px dashed #b6e0fe;
    border-radius: 8px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    background-color: #f8fdff;
}

    .drop-zone:hover {
        border-color: #1e88e5;
        background-color: #e8f4fd;
    }

    .drop-zone.drop-active {
        border-color: #1e88e5;
        background-color: #d1ecff;
        transform: scale(1.02);
    }

    .drop-zone.drop-success {
        border-color: #4CAF50;
        background-color: #f1f8e9;
    }

.drop-content i {
    font-size: 40px;
    color: #1e88e5;
    margin-bottom: 12px;
}

.drop-zone.drop-success i {
    color: #4CAF50;
}

.drop-content p {
    margin: 0 0 6px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.3;
}

.drop-hint {
    font-size: 12px;
    color: #666;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.manual-copy {
    margin-top: 10px;
}

    .manual-copy code {
        background: white;
        padding: 8px;
        border-radius: 4px;
        font-family: 'Courier New', monospace;
        font-size: 12px;
        word-break: break-all;
        display: block;
        margin-top: 5px;
        border: 1px solid #ddd;
    }

