/* Search Form Styles */
.manual-search-container {
    max-width: 1200px;
    margin: 20px auto;
/*     padding: 0 15px; */
}

.manual-search-form {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: none;
}

.search-form-inner {
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
    gap: 15px;
    align-items: center;
}

.sec-search {
    flex: 1;
    display: flex;
    gap: 20px;
    align-items: center;
}

.category-dropdown {
    min-width: 200px;
}

.category-dropdown select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #f5f5f5;
    border-radius: 6px;
    background: transparent;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

.search-input-wrapper {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.search-input-wrapper input[type="text"] {
    width:  78%;
    padding: 12px 0px 12px 15px;
    border: 1px solid #f5f5f5;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
}
.manual-heading {
    
    text-align: center;
}

.manual-heading h2 {
    margin: 0;
    font-size: 45px;
    color: #333;
}

.search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    padding: 7px 57px !important;
    border: none;
    font-size: 14px;
	outline:;none !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Table Styles */
.manuals-table-container {
    margin-top: 30px;
    overflow-x: auto;
}

.manuals-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #f5f5f5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.manuals-table th {
    background: #f8f9fa;
    padding: 15px;
    font-weight: 600;
    color: #333;
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
/*     border-bottom: 2px solid #e0e0e0; */
}

.manuals-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    font-size: 14px;
}

.number-col {
    width: 50px;
    text-align: center;
}

.image-col {
    width: 80px;
}

.manual-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    white-space: nowrap;
}

.manual-title a {
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .search-form-inner {
        flex-direction: column;
    }

    .sec-search {
        flex-direction: column;
    }

    .category-dropdown,
    .search-input-wrapper {
        width: 100%;
        min-width: 100%;
    }

    .search-submit {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 10px;
		border:none;
        padding: 12px;
        background: #f5f5f5;
        border-radius: 6px;
    }

    .search-input-wrapper input[type="text"] {
        padding: 12px 15px;
        width: 86%;
    }
    .manual-search-form{
        padding: 9px !important;
    }
    .content-manager-wrapper{
        padding:0px !important;
    }
}

@media (max-width: 768px) {
    .manuals-table {
        display: block;
    }

    .manuals-table thead {
        display: table-header-group;
    }

    .manuals-table tbody,
    .manuals-table tr,
    .manuals-table td {
        display: table-cell;
        width: auto;
    }

    .manuals-table tr {
        margin-bottom: 15px;
/*         padding: 10px; */
        display: grid;
		margin:10px 10px;
		border:1px solid #e0e0e0; 
		border-radius:6px;
    }
	.manuals-table th{
		display:none;
	}

    .manuals-table td {
        text-align: left;
        padding: 9px 10px !important;
        border-bottom: 1px solid #f0f0f0;
    }

    .number-col,
    .image-col {
        width: auto;
    }

    .manual-image {
        text-align: center;
        margin: 0 auto;
    }

    .manual-downloads ul {
        display: flex;
        flex-direction: column;
        gap: 4px !important;
    }

    .download-link {
        width: 100%;
        justify-content: center;
    }
    .manual-heading{
        width: 100% ;
    }
    .manual-search-container{
        padding: 0px;
    }
	.search-input-wrapper input[type="text"]{
		width:100% !important;
	}
}

/* Pagination Styles */
.manual-pagination {
    margin-top: 30px;
    text-align: center;
}

.manual-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 35px;
    padding: 0 10px;
    margin: 0 3px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.manual-pagination .current {
    color: #fff;
}

.manual-pagination a:hover {
    background: #f8f9fa;
}

@media (max-width: 480px) {
    .manual-pagination .page-numbers {
        min-width: 30px;
        height: 30px;
        padding: 0 8px;
        margin: 0 2px;
        font-size: 13px;
    }
}

.manual-logo {
    /* margin-bottom: 20px; */
    text-align: center;
}

.manual-logo img {
    max-width: 200px;
    height: auto;
} 