/**
 * 响应式样式
 */

/* 移动端样式 */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 10px;
    }

    .login-card,
    .config-card {
        padding: 24px;
        width: 99%;
    }

    .lang-switch {
        position: static;
        justify-content: flex-end;
        margin-top: 8px;
    }

    .login-header h1,
    .config-header h1 {
        font-size: 24px;
    }

    .config-section h2 {
        font-size: 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

/* 超小屏幕 */
@media (max-width: 480px) {
    .login-card,
    .config-card {
        padding: 20px;
    }

    .login-header h1,
    .config-header h1 {
        font-size: 20px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .lang-switch {
        justify-content: center;
    }
}

/* 平板样式 */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 800px;
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 桌面端样式 */
@media (min-width: 1025px) {
    .container {
        max-width: 800px;
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 打印样式 */
@media print {
    body {
        background: white;
    }

    .login-card,
    .config-card {
        box-shadow: none;
    }

    .btn {
        display: none;
    }
}

