﻿/* =========================================
   LABBAYK - PROFESSIONAL BUTTON THEME
   ========================================= */

/* Base button polish */
.btn {
    font-weight: 600;
    border-radius: 12px;
    padding: .45rem .9rem;
    line-height: 1.2;
    letter-spacing: .2px;
}

/* Medium size (default) */
.btn-sm {
    padding: .35rem .75rem;
    font-size: .875rem;
    border-radius: 10px;
}

.btn-lg {
    padding: .55rem 1rem; /* smaller than Bootstrap default */
    font-size: .95rem; /* not oversized */
    border-radius: 14px;
}

/* =========================================
   LABBAYK PROFESSIONAL BUTTON SYSTEM
   ========================================= */

/* Base polish */
.btn {
    font-weight: 600;
    border-radius: 14px;
    padding: .45rem .95rem;
    transition: all .2s ease;
    letter-spacing: .2px;
}

    /* Slight lift on hover */
    .btn:hover {
        transform: translateY(-1px);
    }

/* ================================
   PRIMARY ACTION (Solid Green)
   ================================ */
.btn-success {
    background-color: #198754 !important;
    border-color: #198754 !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(25,135,84,.15);
}

    .btn-success:hover {
        background-color: #157347 !important;
        border-color: #157347 !important;
    }

/* ================================
   SECONDARY ACTION (Soft Green)
   ================================ */
.btn-dark,
.btn-secondary {
    background-color: #e6f7ef !important;
    border-color: #c3ead8 !important;
    color: #0f5132 !important;
}

    .btn-dark:hover,
    .btn-secondary:hover {
        background-color: #d1f2e3 !important;
        border-color: #b8e6d1 !important;
        color: #0f5132 !important;
    }

/* Outline version */
.btn-outline-dark,
.btn-outline-secondary {
    background-color: #f3fbf7 !important;
    border-color: #c3ead8 !important;
    color: #198754 !important;
}

    .btn-outline-dark:hover,
    .btn-outline-secondary:hover {
        background-color: #e6f7ef !important;
        border-color: #b8e6d1 !important;
        color: #0f5132 !important;
    }

/* ================================
   DANGER (Soft Red)
   ================================ */
.btn-danger {
    background-color: #fde8e8 !important;
    border-color: #f5c2c2 !important;
    color: #842029 !important;
}

    .btn-danger:hover {
        background-color: #f8d7da !important;
        border-color: #f1b0b7 !important;
    }

/* ================================
   WARNING (Soft Amber)
   ================================ */
.btn-warning {
    background-color: #fff4db !important;
    border-color: #ffe69c !important;
    color: #664d03 !important;
}

    .btn-warning:hover {
        background-color: #ffecb5 !important;
    }

/* ================================
   SMALL & LARGE SIZES (Professional)
   ================================ */
.btn-sm {
    padding: .35rem .75rem;
    font-size: .85rem;
    border-radius: 12px;
}

.btn-lg {
    padding: .55rem 1.05rem;
    font-size: .95rem;
    border-radius: 16px;
}

/* Focus state */
.btn:focus {
    box-shadow: 0 0 0 .2rem rgba(25,135,84,.2) !important;
}


/* ===== Dashboard Visual Upgrades ===== */
.dash-hero {
    background: linear-gradient(135deg, rgba(25,135,84,.12), rgba(25,135,84,.04));
    border: 1px solid rgba(25,135,84,.12);
}

.kpi-card {
    border: 1px solid rgba(0,0,0,.04);
}

.kpi-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(25,135,84,.10);
    color: #198754;
    font-size: 20px;
}

/* ===== Pilgrim Photo Upload (matches screenshot) ===== */
.photo-uploader {
    width: 180px; /* bigger like screenshot */
}

.photo-input {
    display: none;
}

.photo-dropzone {
    width: 180px;
    height: 180px;
    border-radius: 22px;
    background: #f7fbff;
    border: 2px dashed #cfe1ff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    transition: all .2s ease;
    position: relative;
}

    .photo-dropzone:hover {
        background: #f1f7ff;
        border-color: #b7d2ff;
        transform: translateY(-1px);
    }

/* icon bubble */
.photo-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: #eaf3ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
    color: #2563eb;
    font-size: 22px;
}

.photo-title {
    font-weight: 700;
    font-size: .95rem;
    color: #3c4b64;
}

.photo-sub {
    font-size: .78rem;
    color: #7a8aa0;
    margin-top: 6px;
}

/* preview */
.photo-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dua-card {
    margin: 12px;
    padding: 13px 14px;
    color: #087e62;
    background: #effcf7;
    border: 1px solid #c9f2e3;
    border-radius: 14px;
    box-shadow: none;
}

.dua-arabic {
    font-family: "Segoe UI", Tahoma, sans-serif;
    font-size: .82rem;
    font-weight: 700;
    text-align: center;
}

.dua-translation {
    margin-top: 4px;
    color: #159878;
    font-size: .71rem;
    text-align: center;
}