/* src/ui/presentation/styles/styles.css */
:root {
    --primary: #4361ee;
    --secondary: #3a0ca3;
    --success: #4cc9f0;
    --danger: #f72585;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --border: #dee2e6;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: var(--dark);
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 600px;
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
    margin: 20px auto;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
}

/* Кнопка JIP-консоли */
.jip-console-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #9d4edd, #5a189a);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.jip-console-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(157, 78, 221, 0.3);
}

/* Оптимизация для iPhone XR */
@media (max-width: 414px) {
    .container {
        padding: 16px;
        border-radius: 16px;
        margin: 10px;
    }

    .title {
        font-size: 20px;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --light: #2d3748;
        --dark: #f7fafc;
        --border: #4a5568;
        --gray: #a0aec0;
    }

    body {
        background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    }

    .container {
        background: #1a202c;
    }
}
