body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body:has(.login-container) {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background: #f5f5f5;
}

.login-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;

    h1 {
        color: #333;
        margin-bottom: 10px;
    }
    .subtitle {
        color: #666;
        margin-bottom: 30px;
    }
    .btn {
        display: inline-block;
        padding: 12px 24px;
        background: #4285f4;
        color: white;
        text-decoration: none;
        border-radius: 4px;
        font-size: 16px;
        transition: background 0.2s;
    }
    .btn:hover {
        background: #3367d6;
    }
}

body:has(.settings-section) {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .settings-section {
        background: #f5f5f5;
        padding: 20px;
        border-radius: 8px;
        margin-bottom: 20px;
    }

    .btn {
        display: inline-block;
        padding: 10px 20px;
        background: #4285f4;
        color: white;
        text-decoration: none;
        border-radius: 4px;
        border: none;
        cursor: pointer;
        font-size: 14px;
    }

    .btn:hover {
        background: #3367d6;
    }

    .btn-logout {
        background: #dc3545;
    }

    .btn-logout:hover {
        background: #c82333;
    }

    .user-info {
        color: #28a745;
        margin-right: 15px;
    }

    .links {
        margin-top: 30px;
    }

    .links a {
        display: block;
        margin: 10px 0;
        color: #4285f4;
    }

    h1 {
        color: #333;
        margin: 0;
    }

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

    .form-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: 500;
    }

    .form-group input[type="text"] {
        width: 100%;
        padding: 8px 12px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
        box-sizing: border-box;
    }

    .form-message {
        margin-top: 10px;
        padding: 10px;
        border-radius: 4px;
        display: none;
    }

    .form-message.success {
        display: block;
        background: #d4edda;
        color: #155724;
    }

    .form-message.error {
        display: block;
        background: #f8d7da;
        color: #721c24;
    }

    .current-folder {
        margin-top: 10px;
        font-size: 13px;
        color: #666;
    }
}
