﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */

a { color: #0366d6; }

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */

html { font-size: 14px; }

@media (min-width: 768px) {
    html { font-size: 16px; }
}

.border-top { border-top: 1px solid #e5e5e5; }

.border-bottom { border-bottom: 1px solid #e5e5e5; }

.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/* Custom css
-------------------------------------------------- */

@media (min-width: 1200px) {
    .container {
        min-width: 1140px;
        max-width: 80%;
    }
}

@media (min-width: 400px) {
    .d-xxs-inline-block { display: inline-block !important; }
}

body {
    background: rgb(145, 162, 235);
    background: linear-gradient(170deg, rgba(145, 162, 235, 0) 0%, rgba(130, 144, 209, 0.01) 100%);
}

header { margin-bottom: 30px; }

h1 { margin-bottom: 2rem; }

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 15px;
}

ul span { font-weight: bold; }

a:hover { text-decoration: none; }

input.wishListBtn {
    font-size: initial;
    line-height: initial;
    border: none;
    border-style: none;
}

input.wishListBtn:active { border-style: none; }

a.wishListBtn,
button.wishListBtn,
div.wishListBtn,
input.wishListBtn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #fff;
    padding: 0.55rem 1rem;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
    -ms-border-radius: 12px;
    border-radius: 12px;
    margin: 0.25rem 0.35rem 0.25rem 0;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.16), 0 4px 10px rgba(17, 24, 39, 0.12);
    transition: transform 120ms ease, box-shadow 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

a.wishListBtn:hover,
button.wishListBtn:hover,
input.wishListBtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(17, 24, 39, 0.2), 0 6px 14px rgba(17, 24, 39, 0.14);
}

a.wishListBtn:active,
button.wishListBtn:active,
input.wishListBtn:active {
    transform: translateY(0);
    box-shadow: 0 8px 16px rgba(17, 24, 39, 0.2), 0 4px 8px rgba(17, 24, 39, 0.14);
}

a.wishListBtn:focus-visible,
button.wishListBtn:focus-visible,
input.wishListBtn:focus-visible {
    outline: 2px solid #c7d2fe;
    outline-offset: 2px;
}

div.wishListBtn { padding: 3px 10px; }

.wishListBtn-minimal {
    border: 2px solid #fff;
    background: transparent;
}

.wishListBtn-primary { background-color: #6f7eed; border-color: #5f6dd6; }

.wishListBtn-secondary { background-color: #4b5563; border-color: #3b4250; }

.wishListBtn-danger { background-color: #ef4444; border-color: #dc2626; }

.wishListBtn-warning { background-color: #f59e0b; border-color: #d97706; color: #111827; }

.wishListBtn-success { background-color: #22c55e; border-color: #16a34a; }

.wishListBtn-info { background-color: #22c2e9; border-color: #1ca9ca; }

.wishListBtn-primary:hover { background-color: #5f74e0; border-color: #586bd0; }

.wishListBtn-secondary:hover { background-color: #434c59; border-color: #383f4c; }

.wishListBtn-danger:hover { background-color: #e43c3c; border-color: #c73333; }

.wishListBtn-warning:hover { background-color: #f8b63d; border-color: #e29a1a; color: #0f172a; }

.wishListBtn-success:hover { background-color: #1fb457; border-color: #199147; }

.wishListBtn-info:hover { background-color: #1eb2d6; border-color: #1896b6; }

.wishListBtn-ghost {
    color: #374151;
    background-color: #f3f4f6;
    border-color: #e5e7eb;
    box-shadow: none;
}

.wishListBtn-ghost:hover {
    background-color: #e5e7eb;
    border-color: #d1d5db;
    box-shadow: 0 6px 14px rgba(17, 24, 39, 0.12), 0 3px 6px rgba(17, 24, 39, 0.1);
}

.wishListBtn-linkAction {
    min-height: 44px;
    min-width: 150px;
    justify-content: center;
    letter-spacing: 0.02em;
}

.wishListContainerHeader {
    display: grid;
    grid-template-columns: 1fr max-content max-content;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    margin-top: 15px;
}

.wishListContainerHeader-sort > form {
    display: flex;
    -ms-align-items: center;
    -o-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 0 5px;
    gap: 5px;
}

.wishListContainerHeader-sort > form > select {
    width: initial;
}

.wishListContainerHeader-canedit { border-left: 1px solid black; }

@media (max-width: 991px) {
    .wishListContainerHeader-sort {
        grid-row: 2;
        grid-column: 1/3;
        width: max-content;
        justify-self: end;
        margin-top: 5px;
    }

    .wishListContainerHeader-canedit { border-left: none; }
}

.wishListContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 60px;
    grid-row-gap: 60px;
    margin: 30px;
}

.wishListContainer.maxTwoColumn { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1200px) {
    .wishListContainer { grid-template-columns: repeat(2, 1fr); }

    .wishListContainer.maxTwoColumn { grid-template-columns: repeat(1, 1fr); }
}

@media (max-width: 767px) {
    .wishListContainer { grid-template-columns: repeat(1, 1fr); }
}

.wishListContainer > a { display: flex; }

.wishListItem {
    width: 100%;
    color: #444;
    padding: 30px;
    background-color: skyblue;
    -ms-border-radius: 12px;
    border-radius: 12px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    word-break: break-word;
}

.wishListItem h3 { color: white; }

.wishListItemFooter {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

#backButton {
    box-shadow: none;
    color: #444;
    border-color: #444;
}

.wishListHeader {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    align-items: center;
}

.wishListHeaderButtons {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 400px) {
    .wishListHeaderButtons {
        align-items: initial;
        flex-direction: column;
        text-align: center;
    }

    .wishListHeaderButtons > a { margin: 5px; }
}

.loginContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 85vh;
}

.loginContainer > div {
    width: 90%;
    max-width: 500px;
}

.loginContainer h1 { text-align: center; }

.admin-table th {
    cursor: pointer;
    vertical-align: top;
}

.admin-table-header-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.filter-container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.filter-toggle {
    background: none;
    border: none;
    padding: 0;
    color: #1b6ec2;
    text-decoration: underline;
    font-size: 0.9rem;
    text-align: left;
}

.filter-toggle:hover,
.filter-toggle:focus {
    color: #12467e;
    text-decoration: none;
}

.admin-table-filter {
    min-width: 140px;
}

.sort-indicator {
    display: inline-block;
    width: 0.8rem;
    text-align: center;
    color: #6c757d;
}

th.sorted-asc .sort-indicator::after {
    content: "↑";
}

th.sorted-desc .sort-indicator::after {
    content: "↓";
}

th:not(.sorted-asc):not(.sorted-desc) .sort-indicator::after {
    content: "↕";
}

.form-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08), 0 4px 12px rgba(17, 24, 39, 0.06);
    padding: 24px;
    max-width: 920px;
    margin: 0 auto;
}

.form-card__header {
    margin-bottom: 1rem;
}

.form-card__title {
    margin-bottom: 0.35rem;
}

.form-card__subtitle {
    margin: 0;
    color: #4b5563;
    font-size: 1rem;
}

.form-card__body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-field label {
    font-weight: 700;
    color: #111827;
}

.form-field .form-control,
.form-field select,
.form-field textarea {
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
}

.form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.form-hint {
    margin: 0;
    font-size: 0.95rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
}