body { font-family: Arial; margin: 0; background: #f5f5f5; }
.container { display: flex; }
.sidebar { width: 240px; background: #1f2937; color: #fff; min-height: 100vh; padding: 20px; }
.sidebar a { color: #fff; display: block; margin: 10px 0; text-decoration: none; }
.content { padding: 20px; width: 100%; }
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th, .table td { border: 1px solid #ddd; padding: 10px; }
.btn { padding: 6px 12px; background: #ccc; text-decoration: none; border-radius: 4px; }
.btn.primary { background: #2563eb; color: #fff; }
.status.approved { color: green; }
.accordion button { width: 100%; padding: 10px; text-align: left; }
.panel { display: none; padding: 10px; background: #fff; }

/* Search bar container */
.search-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* Left text */
.search-item.left {
    flex: 1;
    text-align: left;
    font-weight: 600;
}

/* Center search */
.search-item.center {
    flex: 4;
    text-align: center;
}

.search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Right button */
.search-item.right {
    flex: 1;
    text-align: right;
}


/* Pagination container  for marketing/index.php */


.pagination-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
    width: 15px;
}

.pagination-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-left button {
    padding: 4px 8px;
    cursor: pointer;
}

.pagination-container .pagination-left #pageSize {
    font-size: 14px;   /* adjust as needed */
    padding: 4px 6px; /* optional: makes it look nicer */
}


/*Website-set up page part*/
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.page-header h2 {
    flex: 1;
    margin-left: 15px;
}

.card {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 25px;
    background: #fff;
}

.form-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    margin-bottom: 12px;
    align-items: center;
}

.form-row label {
    font-weight: 600;
}

.form-row input,
.form-row select {
    padding: 6px 8px;
}

.accordion-list {
    border-top: 1px solid #ddd;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    cursor: pointer;
    background: #f8f8f8;
}

.accordion-body {
    display: none;
    padding: 15px;
    background: #fff;
}

.btn {
    padding: 6px 12px;
    border: none;
    cursor: pointer;
}

.btn.add {
    background: #2b6cb0;
    color: #fff;
}

.btn.save {
    background: #2b6cb0;
    color: #fff;
}

.btn.back {
    background: #e2e8f0;
}


/*Marketing Setup page & selected resource section */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-box {
    border: 1px solid #999;
    padding: 15px;
    margin-bottom: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 260px 1fr;
    margin-bottom: 6px;
}

.form-row input,
.form-row select {
    padding: 4px;
}

.section {
    margin-top: 15px;
}

.section-header {
    display: flex;
    align-items: center;
    padding: 8px;
    border-top: 1px solid #aaa;
    font-weight: bold;
}

.section-header span {
    margin-left: 8px;
}

.section-body {
    border: 1px solid #aaa;
    padding: 16px;
    background: #fff;
    font-size: 13px;
    line-height: 1.5;
}

.section-body > *:first-child {
    margin-top: 0;
}

.section-body > *:last-child {
    margin-bottom: 0;
}

.section-body label,
.section-body input,
.section-body select,
.section-body textarea,
.section-body button,
.section-body th,
.section-body td {
    font-size: 13px;
}

.expand {
    text-decoration: none;
    margin-right: 6px;
}

.btn {
    padding: 4px 10px;
}

.btn.add {
    background: #1f6fb2;
    color: #fff;
    margin-left: auto;
}

.btn.save {
    background: #1f6fb2;
    color: #fff;
}

.search-bar {
    margin-bottom: 14px;
}

.search-bar input {
    padding: 6px 8px;
    width: 300px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.data-table th,
.data-table td {
    border: 1px solid #000;
    padding: 8px 10px;
    font-size: 13px;
    vertical-align: top;
}

.data-table th {
    background: #f5f5f5;
    font-weight: 600;
}

.pagination {
    margin-top: 14px;
}
