/* SECTIONS */
/* Navigation */
nav {
    border-bottom: 1px solid #eee;
    position:relative;
    z-index: 1;
}

.bg-body-tertiary {
    --bs-bg-opacity: 1;
    position: sticky;
    top: 0;
    background-color: #fff !important;
    z-index: 1050;
}

.dropdown button {
    margin-left: 1rem;
    border: none;
}

.dropdown-menu {
    --bs-dropdown-min-width: auto;
}

/* Breadcrumbs */
nav[aria-label="breadcrumb"] {
    position: sticky;
    top: 60px;
    z-index: 1020;
    background-color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Footer */
.footer {
    border-top: 1px solid #eee;
}

.bg-light {
    --bs-bg-opacity: 1;
    background-color: #fff !important;
}

/* BUTTONS */
.btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    --bs-btn-bg: #FFC300;
    --bs-btn-color: #000;
    --bs-btn-border-color: #FFC300;
    --bs-btn-hover-bg: #e6b000;
    --bs-btn-hover-border-color: #e6b000;
    --bs-btn-hover-color: #000;
}

.btn-secondary {
    --bs-btn-bg: #fff;
    --bs-btn-color: #333;
    --bs-btn-border-color: #ccc;
    --bs-btn-hover-bg: #f8f9fa;
    --bs-btn-hover-border-color: #bbb;
    --bs-btn-hover-color: #333;
}

.text-button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    color: #0d6efd;
}

.text-button:hover {
    text-decoration: underline;
}

/* TYPOGRAPHY */
/* Fonts */
:root {
    --bs-body-font-family: "Montserrat", sans-serif;
    --bs-body-color: #333;
}

p a {
    color: #17A2B8;
}

.line-through {
    text-decoration: line-through;
    color: #888;
}

/* Headers */
h1, .h1 {
    font-size: 36px;
    font-weight: 800;
    padding: 2rem 0;
    text-align: center;
}

h2, .h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.tasks-header {
    display: flex;
    align-items: center;
}

.tasks-header a {
    margin-left: 10px;
}

h3, .h3 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.danger {
    color: #dc3545;
}

.countdown {
    color: #FFC300;
    font-weight: 800;
    padding: 1rem 0;
}

/* FORMS */
.form-label {
    font-weight: 600;
}

.form-control {
    padding: 12px;
    border-radius: 8px;
}

.delete-form {
    text-align: center;
    margin-top: 1rem;
}

.h1-input {
    font-family: Montserrat, sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: normal;
    padding: 0;
    border: none;
    background-color: #f8f9fa;
    border-radius: 5px;
    width: 100%;
}


/* IMAGES */
svg path {
    fill: #FFC300;
}

.calendar-icon {
    display: inline-block;
    vertical-align: middle;
}

/* CONTRACTS */
.contract-card {
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    background-color: #fff;
}

.contract-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.cursor-pointer {
    cursor: pointer;
}

/* UTILITIES */
[x-cloak] {
    display: none !important;
}
