body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f5f7fa;
}

/* MAP */
#map {
    height: 100vh;
    width: 100%;
    z-index: 1;
}

.category-item {
    padding: 10px 14px;
    margin: 6px 0;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.25s;
}

.category-item:hover {
    background: #111;
    color: white;
    transform: translateX(5px);
}

/* INFO CARD */
.info-card {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 300px;

    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(20px);

    border-radius: 20px;
    padding: 18px;

    box-shadow: 0 20px 60px rgba(0,0,0,0.2);

    display: none;
    z-index: 5000;

    animation: fadeIn 0.25s ease;
}

.info-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.info-desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}

.info-group {
    font-size: 12px;
    color: #888;
    margin-bottom: 12px;
}

.info-hours {
    background: #f0f4f8;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    color: #2c7da0;
    margin-bottom: 12px;
    text-align: center;
    font-weight: 500;
}

.info-hours-warning {
    background: #fff3e0 !important;
    border-left: 4px solid #e67e22;
}

.info-hours-warning-text {
    color: #e67e22;
    font-weight: bold;
    display: inline-block;
    margin-top: 5px;
}

/* BUTTONS */
.btn-directions {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #000, #333);
    color: white;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 8px;
}

.cancel-btn {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: none;
    background: #eee;
    cursor: pointer;
}

.icon-btn {
    border: none;
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
    padding: 6px;
    cursor: pointer;
}

.icon-btn:hover {
    background: rgba(0,0,0,0.15);
}

/* ADD BUTTON */
.add-pin-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;

    z-index: 6000;

    padding: 14px 18px;
    border-radius: 14px;
    border: none;

    background: linear-gradient(135deg, #000, #444);
    color: white;
    font-weight: bold;

    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.add-pin-btn:hover {
    transform: scale(1.08);
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(6px);

    z-index: 9999;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);

    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);

    padding: 24px;
    border-radius: 20px;

    width: 340px;

    box-shadow: 0 25px 80px rgba(0,0,0,0.3);

    animation: modalIn 0.25s ease forwards;
}

/* INPUTS */
.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    margin: 10px 0;
    padding: 12px;

    border-radius: 12px;
    border: 1px solid #e0e0e0;

    font-size: 14px;

    transition: 0.2s;

    box-sizing: border-box;
}

.modal-content input:focus,
.modal-content textarea:focus,
.modal-content select:focus {
    outline: none;
    border-color: black;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

/* CHIPS */
.chips-container {
    margin: 10px 0;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 15px;
}

.chips-label {
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
    color: #333;
}

.chips-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    background: #f0f4f8;
    padding: 8px 16px;
    border-radius: 32px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 14px;
    user-select: none;
    display: inline-block;
}

.chip:hover {
    background: #e0e7ff;
    transform: translateY(-1px);
}

.chip.active {
    background: #2c7da0;
    color: white;
}

/* WORKING HOURS */
.time-row {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.time-simple {
    flex: 1;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
    text-align: center;
    font-family: monospace;
    letter-spacing: 1px;
}

.time-simple:focus {
    outline: none;
    border-color: #aaa;
    background: white;
}

.time-simple::placeholder {
    color: #aaa;
    font-family: monospace;
}

/* BUTTONS */
.modal-content button {
    width: 100%;
    margin-top: 10px;
    padding: 12px;

    border-radius: 12px;
    border: none;

    font-weight: 600;
    cursor: pointer;

    transition: 0.2s;
}

.save-btn {
    background: linear-gradient(135deg, #000, #333);
    color: white;
}

.save-btn:hover {
    transform: scale(1.03);
}

.cancel-btn {
    background: #f1f1f1;
}

.cancel-btn:hover {
    background: #ddd;
}

/* ANIMATION */
@keyframes modalIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}
.top-filter {
    position: absolute;
    top: 20px;
    left: 60px;
    z-index: 2000;

    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(12px);

    padding: 10px 14px;
    border-radius: 14px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

#categoryFilter {
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}
