/* ==============================================
   PDF Downloads - Frontend Styles
   ============================================== */

.pdfdl-wrap {
max-width: 900px;
margin: 0 auto;
padding: 0 16px;
font-family: inherit;
}

/* -- Section Title -- */
.pdfdl-section-title {
display: flex;
align-items: center;
font-size: 22px;
font-weight: 700;
color: #222;
margin: 0 0 24px;
padding: 0 0 16px;
border-bottom: 2px solid #3a7d44;
}

/* -- Search Box -- */
.pdfdl-search-box {
position: relative;
margin-bottom: 28px;
}

.pdfdl-search-icon {
position: absolute;
left: 14px;
top: 50%;
transform: translateY(-50%);
width: 18px;
height: 18px;
color: #aaa;
pointer-events: none;
}

#pdfdl-search {
width: 100%;
box-sizing: border-box;
padding: 13px 16px 13px 44px;
font-size: 15px;
border: 1.5px solid #ddd;
border-radius: 8px;
outline: none;
background: #fff;
color: #333;
transition: border-color 0.2s, box-shadow 0.2s;
}

#pdfdl-search:focus {
border-color: #3a7d44;
box-shadow: 0 0 0 3px rgba(58, 125, 68, 0.12);
}

#pdfdl-search::placeholder {
color: #bbb;
}

/* -- List Container -- */
#pdfdl-list {
border: 1px solid #e5e5e5;
border-radius: 10px;
overflow: hidden;
background: #fff;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.pdfdl-item {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
padding: 18px 24px;
border-bottom: 1px solid #f2f2f2;
transition: background 0.15s;
}

.pdfdl-item:last-of-type {
border-bottom: none;
}

.pdfdl-item:hover {
background: #f6fbf7;
}

.pdfdl-name {
font-size: 15px;
font-weight: 500;
color: #1a1a1a;
flex: 1;
min-width: 0;
}

.pdfdl-btns {
display: flex;
flex-wrap: wrap;
gap: 8px;
justify-content: flex-end;
flex-shrink: 0;
}

.pdfdl-btn {
display: inline-flex;
align-items: center;
gap: 6px;
background: #3a7d44;
color: #fff !important;
text-decoration: none !important;
padding: 8px 16px;
border-radius: 5px;
font-size: 13px;
font-weight: 600;
letter-spacing: 0.02em;
white-space: nowrap;
transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
line-height: 1.4;
}

.pdfdl-btn svg {
width: 14px;
height: 14px;
flex-shrink: 0;
stroke: #fff;
}

.pdfdl-btn:hover {
background: #2e6336;
transform: translateY(-1px);
box-shadow: 0 3px 8px rgba(58, 125, 68, 0.3);
}

.pdfdl-btn:active {
transform: translateY(0);
box-shadow: none;
}

.pdfdl-no-results {
padding: 36px;
text-align: center;
color: #999;
font-size: 14px;
}

@media (max-width: 640px) {
.pdfdl-item {
flex-direction: column;
align-items: flex-start;
gap: 12px;
}
.pdfdl-btns {
justify-content: flex-start;
}
}
