/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
.viewer-action button {
    padding: 5px 15px;
    border-radius: 15px;
    background: #f4f4f4;
    border: 1px solid #888;
    cursor: pointer;
}
h2 span {
    float: right;
    color: #f00;
    font-size: 70%;
}
.pdf-list label {
    position: relative;
    border-radius: 6px;
    transition: all .15s ease;
}

.pdf-list label:hover {
    border-color: #888;
}

/* チェックされたカード */
.pdf-list label:has(input:checked) {
    border: 2px solid #2271b1;
    background: #f0f6fc;
}

/* チェック済みマーク */
.pdf-list label:has(input:checked)::after {
    content: "✓";
    position: absolute;
    top: 8px;
    right: 8px;
    background: #2271b1;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#selected-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    padding: 10px 16px;
    background: #fff;
    border-top: 2px solid #ddd;
    z-index: 1000;

    box-shadow: 0 -2px 6px rgba(0, 0, 0, .08);
}

#selected-bar select {
    height: 32px;
    font-size: 14px;
    max-width: 200px;
}
select {
    max-width: 200px;
}
/* 下に隠れないよう余白だけ追加 */
body {
    padding-bottom: 64px;
}

ul#selected-list li {
    font-size: 17px;
    cursor: pointer;
}

#selected-list li:hover {
    text-decoration: line-through;
    color: #999;
}


#clear-selected {
    height: 32px;
    padding: 0 10px;
    font-size: 13px;
    cursor: pointer;
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#clear-selected:hover {
    background: #eee;
}

.pdf-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pdf-share-internal{
  max-width:800px;margin:40px auto;
}
  .pdf-card-title{
    font-size:20px;line-height:1.4;
  }
#selected-count {
    font-weight: 600;
    color: #f00;
}
.selected-pdfs {
    margin-bottom: 30px;
}
hr{
  margin:30px auto;
}
.recipient-item {
    display: flex;
    gap: 10px;
	align-items: center;
    margin-bottom: 1em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1em;
}

.share-recipient-wrap label {
    width: 40%;
}
label.share-label-input input {
    width: 90%;
}
#recipient-suggest {
  position: absolute;
  z-index: 99999;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  max-height: 240px;
  overflow-y: auto;
}

.recipient-suggest div {
  padding: 12px 14px;
  font-size: 16px;
  border-bottom: 1px solid #eee;
}

.recipient-suggest div:last-child {
  border-bottom: none;
}

.recipient-suggest div:hover {
  background: #f0f6fc;
}
input#save_name {
    width: 80%;
}
#pdf-share-form button {
    background: #2196F3;
    color: #fff;
    padding: 2px 9px;
    border-radius: 15px;
    font-size: 13px;
}
#pdf-share-form button.remove-recipient {
    background: #888;
}
div#pdf-share-result button {
    display: block;
    width: 100%;
    padding: 1em;
}
share-recipient-wrap {
    margin-bottom: 1em;
}
div#pdf-share-result {
    max-width: 900px;
    margin: 50px auto;
}

@media (min-width: 821px) and (max-width: 1200px) {
    .pdf-list {
        grid-template-columns: repeat(3, 1fr);
    }
  .pdf-share-internal{
    max-width:95%;
  }
  .pdf-card-title{
    font-size:20px;
  }
	#pdf-share-form button.remove-recipient {
    margin-top: 1em;
}
}

@media (max-width: 820px) {
    .pdf-list {
        grid-template-columns: repeat(2, 1fr);
    }

.selectcnt {
    min-width: 70%;
    order: 1;
}

#selected-bar {
    flex-wrap: wrap;
}

#selected-bar select {
    max-width: 30%;
    order: 3;
}

button#clear-selected {
    order: 2;
}
.pdf-card-title {
    font-size: 15px;
}
.pdf-share-internal {
    max-width: 90%;
}
body.home{
  padding-bottom:100px!important;
}
.recipient-item {
    display: block;
	        margin-bottom: 2em;
        padding-bottom: 2em;
}

.recipient-itemp label {
    margin-bottom: 1em;
    display: block;
    width: 100%;
}
	#pdf-share-form button.remove-recipient {
    margin-top: 1em;
}

}
