/* General reset for body and html */
body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    height: 100%;
    background: #e8f5e9; /* Soft medical green background */
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Login/Registration container styles */
.register-container,
.login-container {
    background-color: #fff; /* White container background */
    padding: 70px;
    border-radius: 16px; /* More rounded edges */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-align: center;
    max-width: 900px; /* Increase the maximum width */
    width: 100%; /* Ensure responsiveness */
    overflow: auto;
}

/* Logo styles */
.logo img {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
}

/* Button styles */
.custom-btn {
    background-color: #2e7d32; /* Darker green button */
    color: white;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-btn:hover {
    background-color: #1b5e20; /* Darker green on hover */
}

/* Input field styling */
.input-container {
    position: relative;
    margin-bottom: 15px;
}

.input-container i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #4CAF50;
}

.form-control {
    width: 100%;
    padding-left: 35px;
    padding-right: 40px;
    height: 45px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* Password visibility toggle button */
.show-hide-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #4CAF50;
    font-size: 20px;
    cursor: pointer;
    padding: 15px;
}

/* Link styles */
.small-text {
    font-size: 14px;
}

.small-text a {
    color: #2e7d32;
    text-decoration: none;
}

.small-text a:hover {
    text-decoration: underline;
}

/* Title styles */
.title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.title span {
    font-size: 16px;
    display: block;
    margin-top: 5px;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-container {
        max-width: 90%; /* Make it responsive for tablets */
    }
}

@media (max-width: 480px) {
    .login-container {
        max-width: 95%; /* Make it responsive for mobile devices */
    }
}

/* --- Medical Green Inventory Theme Enhancements --- */

.dashboard-main-content {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(39, 174, 96, 0.08);
    padding: 32px 32px 32px 32px;
    margin-top: 32px;
}

.table-container {
    background: #f6fffa;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(39, 174, 96, 0.07);
    border: 1px solid #b2dfdb;
}

.table-container thead {
    background: #27ae60;
    color: #fff;
    font-size: 1.08rem;
    letter-spacing: 0.5px;
}

.table-container tbody tr {
    transition: background 0.2s;
}

.table-container tbody tr:hover {
    background: #e0f2f1;
}

.table-container th, .table-container td {
    border-right: none;
    font-size: 1rem;
}

/* Modern Buttons */
.btn-success, .btn-primary, .btn-secondary {
    border-radius: 8px !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.08);
    transition: background 0.2s, color 0.2s;
}
.btn-success {
    background: #27ae60 !important;
    border: none;
}
.btn-success:hover {
    background: #219150 !important;
}
.btn-primary {
    background: #219150 !important;
    border: none;
}
.btn-primary:hover {
    background: #176943 !important;
}
.btn-secondary {
    background: #b2dfdb !important;
    color: #219150 !important;
    border: none;
}
.btn-secondary:hover {
    background: #80cbc4 !important;
    color: #176943 !important;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25em 0.85em;
    border-radius: 12px;
    font-size: 0.95em;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.status-instock {
    background: #e8f5e9;
    color: #219150;
    border: 1px solid #27ae60;
}
.status-medium {
    background: #fffde7;
    color: #fbc02d;
    border: 1px solid #ffe082;
}
.status-low {
    background: #ffebee;
    color: #e53935;
    border: 1px solid #ffcdd2;
}

/* Modal Enhancements */
.modal-content {
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(39, 174, 96, 0.12);
    border: 1px solid #b2dfdb;
}
.modal-header {
    background: #e8f5e9;
    border-bottom: 1px solid #b2dfdb;
}
.modal-title {
    color: #219150;
    font-weight: 700;
}

/* Table Action Buttons */
.btn-xs {
    color: #219150 !important;
    background: #e8f5e9 !important;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    margin-right: 2px;
}
.btn-xs:hover {
    background: #b2dfdb !important;
    color: #176943 !important;
}

/* Pagination */
.pagination .page-link {
    background: #e8f5e9;
    color: #219150;
    border: 1px solid #b2dfdb;
}
.pagination .page-link:hover {
    background: #b2dfdb;
    color: #176943;
}
.pagination .page-item.active .page-link {
    background: #27ae60;
    color: #fff;
    border-color: #27ae60;
}

/* Alerts */
.alert-success {
    background: #e8f5e9;
    color: #219150;
    border: 1px solid #27ae60;
}
.alert-danger {
    background: #ffebee;
    color: #e53935;
    border: 1px solid #ffcdd2;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .dashboard-main-content {
        padding: 12px;
        margin-top: 12px;
    }
    .table-container {
        padding: 8px;
    }
}

    