/* General Body Styles */ body { font-family: 'Roboto', sans-serif; background-color: #ECF0F1; color: #333; line-height: 1.6; margin: 0; } /* App Header */ .app-header { background: linear-gradient(135deg, #2A3F54 0%, #3E5771 100%); color: #FFFFFF; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .app-header h1 { font-family: 'Roboto Slab', serif; margin: 0; font-size: 1.5rem; color: #FFFFFF; } .app-header nav a { color: #FFFFFF; text-decoration: none; margin-left: 1.5rem; font-weight: 500; padding-bottom: 0.25rem; border-bottom: 2px solid transparent; transition: border-color 0.3s ease; } .app-header nav a.active, .app-header nav a:hover { border-color: #2ECC71; } /* Main Container */ .container { max-width: 1200px; margin: 2rem auto; padding: 0 2rem; } /* Card Style */ .card { background-color: #FFFFFF; border-radius: 0.5rem; box-shadow: 0 4px 6px rgba(0,0,0,0.05); padding: 2rem; margin-bottom: 2rem; } /* Form Styles */ .form-container h2 { font-family: 'Roboto Slab', serif; color: #2A3F54; margin-top: 0; margin-bottom: 0.5rem; } .form-container p { margin-top: 0; margin-bottom: 2rem; color: #555; } .form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; } .form-column { display: flex; flex-direction: column; gap: 1.5rem; } .form-group { display: flex; flex-direction: column; } .form-group label { font-weight: 700; margin-bottom: 0.5rem; color: #3E5771; } .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem; border: 1px solid #ccc; border-radius: 0.25rem; font-size: 1rem; transition: border-color 0.3s ease, box-shadow 0.3s ease; } .form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #2A3F54; box-shadow: 0 0 0 2px rgba(42, 63, 84, 0.2); } .form-full-width { grid-column: 1 / -1; } .form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 1rem; margin-top: 2rem; } /* Buttons */ .btn { padding: 0.75rem 1.5rem; border-radius: 0.25rem; text-decoration: none; color: #fff; font-weight: bold; transition: background-color 0.3s ease, transform 0.2s ease; border: none; cursor: pointer; } .btn:hover { transform: translateY(-2px); } .btn-primary { background-color: #2ECC71; } .btn-primary:hover { background-color: #25a25a; } .btn-secondary { background-color: #95a5a6; } .btn-secondary:hover { background-color: #7f8c8d; } /* Toast Notifications */ .toast { padding: 1rem; margin-bottom: 1.5rem; border-radius: 0.25rem; color: #fff; font-weight: 500; } .toast.success { background-color: #2ECC71; } .toast.error { background-color: #E74C3C; } /* Inventory List Specific */ .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; border-bottom: 1px solid #ddd; padding-bottom: 1rem; } .search-and-filter-section { margin-bottom: 2rem; } .search-bar input { width: 100%; padding: 0.75rem; border: 1px solid #ccc; border-radius: 0.25rem; margin-bottom: 1rem; } .filter-form { margin-bottom: 2rem; } .filter-controls { display: flex; gap: 1rem; align-items: center; } .filter-controls select { padding: 0.75rem; border: 1px solid #ccc; border-radius: 0.25rem; flex-grow: 1; } .filter-controls .btn { padding: 0.75rem 1.5rem; } .inventory-table-container { overflow-x: auto; } .inventory-table { width: 100%; border-collapse: collapse; } .inventory-table th, .inventory-table td { padding: 1rem; text-align: left; border-bottom: 1px solid #ddd; } .inventory-table th { font-family: 'Roboto Slab', serif; } .inventory-table th a { text-decoration: none; color: #2A3F54; } .inventory-table tbody tr:hover { background-color: #f9f9f9; } .status { padding: 0.25rem 0.5rem; border-radius: 1rem; color: #fff; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; } .status-active, .status-in-use { background-color: #2ECC71; } .status-in-storage { background-color: #3498DB; } .status-transferred { background-color: #F1C40F; } .status-disposed { background-color: #E74C3C; } /* App Footer */ .app-footer { text-align: center; padding: 2rem 0; margin-top: 2rem; color: #777; font-size: 0.9rem; }