/* ==========================================================================
   Money Maker - Custom Stylesheet
   ========================================================================== */

/* 1. Brand Color Variables
   -------------------------------------------------------------------------- */
:root {
    --primary-purple: #6A0DAD;      /* Main brand purple */
    --primary-purple-dark: #4B0082; /* Darker shade for hover effects */
}


/* 2. General Body & Layout
   -------------------------------------------------------------------------- */
body {
    background-color: #f4f7f6; /* A very light, neutral background */
}


/* 3. Navigation Bar
   -------------------------------------------------------------------------- */
.bg-purple {
    background-color: var(--primary-purple) !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.25rem;
}


/* 4. Buttons
   -------------------------------------------------------------------------- */
/* Overriding Bootstrap's default primary button color */
.btn-primary {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-purple-dark);
    border-color: var(--primary-purple-dark);
}


/* 5. Cards
   -------------------------------------------------------------------------- */
.card {
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.card-header {
    background-color: var(--primary-purple);
    color: white;
    font-weight: bold;
    border-bottom: 0;
}


/* 6. Forms
   -------------------------------------------------------------------------- */
.form-control:focus, .form-select:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.25rem rgba(106, 13, 173, 0.25);
}


/* 7. Receipt Styling
   -------------------------------------------------------------------------- */
.receipt {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    border: 1px solid #dee2e6;
    background-color: #fff;
    font-family: 'Courier New', Courier, monospace;
}
.receipt h1, .receipt h2 {
    text-align: center;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
}
.receipt .legal {
    font-size: 0.8rem;
    margin-top: 2rem;
    border-top: 1px dashed #ccc;
    padding-top: 1rem;
}
.receipt .signatures {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
}
.receipt .signature-box {
    border-top: 1px solid #000;
    width: 40%;
    padding-top: 0.5rem;
}