body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f6f9;
}

.navbar {
    background-color: #1e293b;
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    font-weight: bold;
    font-size: 18px;
    color: white;
    text-decoration: none;
}

.nav-link {
    color: white;
    text-decoration: none;
}

.nav-link:hover {
    text-decoration: underline;
}

.logout-btn {
    background-color: #dc2626;
    border: none;
    color: white;
    padding: 6px 12px;
    cursor: pointer;
}

.logout-btn:hover {
    background-color: #b91c1c;
}



body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f1f5f9;
}

.login-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    background: white;
    padding: 40px;
    width: 350px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn-login {
    width: 100%;
    padding: 10px;
    background-color: #1e293b;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.btn-login:hover {
    background-color: #0f172a;
}


.main-content {
    padding: 30px;
}

.container {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}


.btn-add {
    display: inline-block;
    padding: 8px 14px;
    background-color: #2563eb;
    color: white;
    text-decoration: none;
    margin-bottom: 15px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.table th,
.table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.table th {
    background-color: #f3f4f6;
    text-align: left;
}

.error-box {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

/* add customer success message */
.success-box {
    background: #dcfce7;
    color: #166534;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}
/* Navigation links hightlight */
.nav-link.active {
    font-weight: bold;
    text-decoration: underline;
}
/*  buttons */
.action-buttons {
    margin: 15px 0;
}

.action-buttons a {
    margin-right: 10px;
}
/* invoice */
.invoice-box {
    background: white;
    padding: 30px;
}

.invoice-box h1 {
    margin-bottom: 20px;
}

/* customer edit page address text area */

textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    font-family: inherit;
}

/*  customer show page delete button */
.btn-delete {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-delete:hover {
    background-color: #c0392b;
}
.alert-success {
    background: #2ecc71;
    color: white;
    padding: 10px;
    margin-bottom: 15px;
}

.alert-error {
    background: #e74c3c;
    color: white;
    padding: 10px;
    margin-bottom: 15px;
}


/* delete customer popup message */ 
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: white;
    width: 400px;
    padding: 20px;
    border-radius: 8px;
    margin: 15% auto;
    text-align: center;
}

.modal-buttons {
    margin-top: 20px;
}

.modal-buttons button {
    padding: 8px 15px;
    margin: 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal-buttons button:first-child {
    background: #bdc3c7;
}

.modal-buttons button:first-child:hover {
    background: #95a5a6;
}

/* invoices merge popup */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: white;
    width: 400px;
    padding: 20px;
    border-radius: 8px;
    margin: 15% auto;
    text-align: center;
}

/* Dashoboard quick buttons style */
.quick-actions{
    margin-bottom:25px;
}

.quick-btn{
    display:inline-block;
    background:#2563eb;
    color:white;
    padding:10px 15px;
    border-radius:8px;
    text-decoration:none;
    margin-right:10px;
    transition:0.3s;
}

.quick-btn:hover{
    background:#1d4ed8;
}




