/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', sans-serif;
    color: #111827;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout Containers */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 1rem;
}

.text-center {
    text-align: center;
}

/* Headings */
h1, h2, h3, h4, h5 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #111827;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #374151;
}

/* Buttons */
button, .btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-primary {
    background-color: #2563eb;
    color: #fff;
}

    .btn-primary:hover {
        background-color: #1d4ed8;
    }

.btn-outline-primary {
    background-color: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

    .btn-outline-primary:hover {
        background-color: #2563eb;
        color: #fff;
    }

.btn-dark {
    background-color: #111827;
    color: #fff;
}

    .btn-dark:hover {
        background-color: #000;
    }

/* Forms */
input, select, textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    margin-top: 0.25rem;
}

    input:focus, select:focus, textarea:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3);
    }

/* Alerts */
.alert {
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.alert-danger {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

/* Spacing Utilities */
.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.gap-3 {
    gap: 1rem;
}

.d-flex {
    display: flex;
}

.d-none {
    display: none;
}

.flex-column {
    flex-direction: column;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    button, .btn {
        width: 100%;
    }
}
