/* General & Typography */ body { font-family: 'Inter', sans-serif; background-color: #F9FAFB; color: #1F2937; padding-top: 56px; /* Offset for fixed navbar */ } h1, h2, h3, h4, h5, h6 { font-family: 'Georgia', serif; } /* Navbar */ .navbar { box-shadow: 0 2px 4px rgba(0,0,0,0.05); } .navbar-brand { font-family: 'Georgia', serif; font-weight: 700; font-size: 1.5rem; } /* Hero Section */ .hero { position: relative; padding: 8rem 0; background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://picsum.photos/seed/medhero/1600/900'); background-size: cover; background-position: center; background-attachment: fixed; } .hero h1 { font-weight: 700; } /* Buttons */ .btn-primary { background-color: #3B82F6; border-color: #3B82F6; padding: 0.75rem 1.5rem; border-radius: 0.5rem; transition: all 0.3s ease; } .btn-primary:hover { background-color: #2563EB; border-color: #2563EB; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); } /* Cards */ .card { border: none; border-radius: 1rem; transition: transform 0.3s ease, box-shadow 0.3s ease; } .card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); } #checker .card { border-radius: 1rem; } /* Forms */ .form-control { border-radius: 0.5rem; padding: 0.75rem; } .form-control:focus { box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25); border-color: #3B82F6; } /* Interaction Result */ #interaction-result .alert { border-radius: 0.5rem; } .alert-success { background-color: #E0F2F1; /* Lighter green */ color: #0D6B61; border-color: #B2DFDB; } .alert-warning { background-color: #FFF3E0; /* Lighter orange */ color: #A65B00; border-color: #FFE0B2; } .alert-danger { background-color: #FFEBEE; /* Lighter red */ color: #B71C1C; border-color: #FFCDD2; } /* Footer */ footer a:hover { text-decoration: underline; } /* Expiry Tracker */ #medicine-list-container .list-group-item { display: flex; justify-content: space-between; align-items: center; } .expiry-date { font-weight: 500; } .expiry-soon { color: #A65B00; /* Orange from alert-warning */ } .expired { color: #B71C1C; /* Red from alert-danger */ } #medicine-list-container .btn-sm { --bs-btn-padding-y: .2rem; --bs-btn-padding-x: .4rem; --bs-btn-font-size: .75rem; }