* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f3f4f6;
    color: #111827;
}

header {
    background: #111827;
    color: white;
    padding: 22px 40px;
}

header h1 {
    margin: 0 0 12px 0;
}

nav a {
    color: white;
    text-decoration: none;
    margin-right: 18px;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1150px;
    margin: 30px auto;
    padding: 25px;
}

.hero {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.card {
    background: white;
    padding: 22px;
    border-radius: 14px;
    margin-bottom: 22px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin: 25px 0;
}

.form-box {
    max-width: 380px;
    background: white;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.grid-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

input,
select,
button {
    padding: 11px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
}

button,
.btn {
    background: #2563eb;
    color: white;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    border-radius: 8px;
    padding: 11px 18px;
    font-weight: bold;
}

button:hover,
.btn:hover {
    background: #1d4ed8;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    overflow-x: auto;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

th {
    background: #e5e7eb;
}

tr:hover {
    background: #f9fafb;
}

.error {
    color: #dc2626;
    font-weight: bold;
}

.success {
    color: #16a34a;
    font-weight: bold;
}

@media (max-width: 700px) {
    header {
        padding: 18px;
    }

    nav a {
        display: block;
        margin: 8px 0;
    }

    .container {
        margin: 15px;
        padding: 15px;
    }

    table {
        font-size: 14px;
    }
}

.slider {
    margin: 25px 0;
    min-height: 70px;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #e5e7eb;
}

.slide {
    display: none;
    padding: 25px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    animation: fadeIn 0.6s ease-in-out;
}

.slide.active {
    display: block;
}

.card,
button,
.btn {
    transition: all 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
	margin-right: 20px;
}

.header-flex {
	display: flex;
	align-items: center;
}