/* Core Duplication Abstraction Rules */

.btn-primary {
    background-color: #059669;
    /* bg-emerald-600 */
    color: white;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    /* py-3 px-6 */
    border-radius: 0.75rem;
    /* rounded-xl */
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.2);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .btn-primary {
        padding: 1rem 2rem;
        /* md:py-4 md:px-8 */
    }
}

.btn-primary:hover {
    background-color: #10b981;
    /* bg-emerald-500 */
    transform: scale(1.05);
    /* scale-105 */
}

/* Card Structures */
.card-base {
    background-color: rgba(17, 24, 39, 0.6);
    /* bg-gray-900/60 */
    border: 1px solid rgb(31, 41, 55);
    /* border-gray-800 */
    padding: 1.5rem;
    /* p-6 */
    border-radius: 1.5rem;
    /* rounded-3xl */
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .card-base {
        padding: 2rem;
        /* md:p-8 */
    }
}

.card-base:hover {
    border-color: rgba(16, 185, 129, 0.3);
    /* hover:border-emerald-500/30 */
}

/* Interactive Box Cards for Home/Recipes */
.card-interactive {
    background-color: rgba(17, 24, 39, 0.4);
    border: 1px solid rgb(31, 41, 55);
    padding: 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-interactive:hover {
    background-color: rgba(17, 24, 39, 0.8);
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-0.25rem);
}

/* Icons inside the interactive cards */
.icon-box-primary {
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgb(31, 41, 55);
    /* bg-gray-800 */
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #34d399;
    /* text-emerald-400 */
    transition: all 0.3s ease;
}

.card-interactive:hover .icon-box-primary {
    background-color: #10b981;
    /* group-hover:bg-emerald-500 */
    color: white;
}

/* Zakat Input Styling */
.input-base {
    width: 100%;
    background-color: black;
    border: 1px solid rgb(55, 65, 81);
    /* border-gray-700 */
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: white;
    transition: all 0.2s ease;
}

.input-base:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 1px #10b981;
}

/* Global Heading Highlights */
.heading-gradient {
    background-image: linear-gradient(to right, #34d399, #99f6e4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}