/** @format */
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap");

:root {
    --bg: #f3f4f6;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e5e7eb;
    --primary: #2563eb;
}

* {
    font-family: "Noto Serif", serif;
    box-sizing: border-box;
}
html {
    font-size: 16px;
}

body {
    margin: 0;
    background: var(--bg);
    font-size: 16px;
    color: var(--text);
}

.waterMark {
    width: 100%;
    position: fixed;
    bottom: 0;

    left: 0;
    padding: 12px 0;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 1rem;

    background: linear-gradient(
        147deg,
        #00000000 0%,
        #ffffff 35%,
        #ffffff 65%,
        #00000000 100%
    );
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 24px 14px 48px;
}

.header {
    margin-bottom: 18px;
    text-align: center;
}
.header .logoSite {
    width: 200px;
    margin: 0 0 6px;
}
.muted {
    margin: 0;
    color: var(--muted);
}

.card {
    padding: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #111827;
    border: 1px solid #111827;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: 0.2s;
    user-select: none;
}

.btn:hover {
    transform: translate(-5px, -5px);
    box-shadow: 5px 5px 0 0 #07276b;
}

.btnAlt {
    background: white;
    border: 1px solid var(--border);
    color: #111827;
    transition: 0.2s;
}
.btnAlt:hover {
    transform: translate(-5px, -5px);
    box-shadow: 5px 5px 0 0 #c1c1c1;
}
.btnIcon svg {
    height: 18px;
    width: 18px;
}

.selectedList {
    max-height: 300px;
    margin: 0 0 14px;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}

.selectedItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    padding: 10px 12px;
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.left {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ico {
    height: 18px;
    width: 18px;
    color: #111827;
    flex: 0 0 auto;
}

.name {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.meta {
    font-size: 12px;
    color: var(--muted);
}

.remove {
    padding: 4px 8px;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: #dc2626;
    cursor: pointer;
}

.actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.send {
    padding: 10px 16px;
    background: var(--primary);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

.send:hover {
    transform: translate(-5px, -5px);
    box-shadow: 5px 5px 0 0 #0038b1;
}

.clear,
.ghost {
    padding: 10px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: #111827;
    cursor: pointer;
    transition: 0.2s;
}

.ghost:hover {
    transform: translate(-5px, -5px);
    box-shadow: 5px 5px 0 0 #c1c1c1;
}
.clear:hover {
    transform: translate(-5px, -5px);
    box-shadow: 5px 5px 0 0 #c1c1c1;
}

.status {
    font-size: 13px;
    color: var(--muted);
}

.district {
    margin-top: 22px;
}

.districtHead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.transfersGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 900px) {
    .transfersGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    .transfersGrid {
        grid-template-columns: 1fr;
    }
}

.transferCard {
    margin-bottom: 12px;
    padding: 14px;

    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.transferTop {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.transferId {
    font-weight: 600;
    text-align: center;
}

.transferDate {
    font-size: 16px;
    text-align: center;
    color: #64748b;
}
.transferName {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}

.transferActions {
    display: flex;
    gap: 12px;
}
.deleteBtn {
    height: 35px;
    width: 35px;

    display: flex;
    justify-content: center;
    align-items: center;
    background: #ff4d4d;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

.deleteBtn:hover {
    transform: translate(-5px, -5px);
    box-shadow: 5px 5px 0 0 #f04040;
}

.zipBtn {
    height: 35px;

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    background: #111827;

    border: none;
    border-radius: 10px;
    font-size: 13px;
    text-decoration: none;
    color: #fff;

    cursor: pointer;
    transition: 0.2s;
}

.zipBtn:hover {
    transform: translate(-5px, -5px);
    box-shadow: 5px 5px 0 0 #07276b;
}

.rowInputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.transferNameInput,
.transferCodeInput {
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    outline: none;
    border-radius: 12px;
    font-size: 14px;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.transferNameInput {
    width: 100%;
    max-width: 320px;
}

.transferCodeInput {
    width: 160px;
    letter-spacing: 2px;
    text-align: center;
}

.transferNameInput:focus,
.transferCodeInput:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}
