:root {
    --ipc-primary: #1565c0;
    --ipc-primary-dark: #0f4f98;
    --ipc-primary-soft: #e8f2ff;
    --ipc-bg-start: #e3f2fd;
    --ipc-bg-end: #ffffff;
    --ipc-text: #1f2937;
    --ipc-muted: #6b7280;
    --ipc-radius: 14px;
    --ipc-shadow: 0 14px 30px rgba(21, 101, 192, 0.14);
}

body {
    margin: 0;
    color: var(--ipc-text);
    background: linear-gradient(180deg, var(--ipc-bg-start) 0%, #f7fbff 45%, var(--ipc-bg-end) 100%);
    min-height: 100dvh;
}

h1,
h2,
h3,
h4 {
    color: #0f172a;
    font-weight: 700;
}

.ipc-page-card {
    background: #fff;
    border-radius: var(--ipc-radius);
    box-shadow: var(--ipc-shadow);
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 24px;
}

.collection {
    border: 0;
    border-radius: 12px;
    overflow: hidden;
}

.collection .collection-item {
    min-height: 48px;
    display: flex;
    align-items: center;
}

.btn,
.btn-small,
.btn-large,
.btn-floating {
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ipc-primary), var(--ipc-primary-dark)) !important;
}

.btn-flat {
    border-radius: 999px;
}

.btn:hover,
.btn-small:hover,
.btn-large:hover {
    filter: brightness(0.95);
}

a {
    color: var(--ipc-primary-dark);
}

table.striped > tbody > tr:nth-child(odd) {
    background-color: #f5f9ff;
}

input:focus,
textarea:focus,
select:focus {
    border-bottom: 1px solid var(--ipc-primary) !important;
    box-shadow: 0 1px 0 0 var(--ipc-primary) !important;
}

.input-field .prefix.active,
.input-field label.active {
    color: var(--ipc-primary) !important;
}

.modal {
    border-radius: 12px;
}

@media (max-width: 768px) {
    .container {
        width: 94% !important;
    }

    .ipc-page-card {
        padding: 14px;
        margin-top: 14px;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.25rem; }

    .collection .collection-item {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .btn,
    .btn-small,
    .btn-large {
        width: 100%;
        margin-bottom: 8px;
    }
}
