@import url('https://fonts.googleapis.com/css2?family=Days+One&family=Lexend:wght@100..900&family=Teko:wght@300..700&display=swap');

/* Popup Styles */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 350px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    font-family: 'Lexend', sans-serif;
    position: relative;
}

.popup h3 {
    color: #408C67;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5rem;
}

.popup input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

.popup button[type="submit"] {
    background-color: #408C67;
    color: white;
    border: none;
    padding: 10px 10px;
    border-radius: 5px;
    cursor: pointer;
    width: 40%;
    font-size: 1rem;
    transition: background-color 0.3s;
    display: block;
    margin: 0 auto;
}

.popup button[type="submit"]:hover {
    background-color: #2E6B4F;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #718096;
    cursor: pointer;
}

.close:hover {
    color: #2d3748;
}

#errorMsg {
    color: #e53e3e;
    display: none;
    margin-top: -10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.check-discount-offer {
    padding: 10px 15px;
    background-color: #408C67;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.check-discount-offer:hover {
    background-color: #45a049;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.add-to-cart-btn,
.view-cart-btn {
    background-color: #408C67;
    /* same green color */
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    transition: background-color 0.3s;
}

.add-to-cart-btn:hover,
.view-cart-btn:hover {
    background-color: #2E6B4F;
    /* darker green on hover */
} 