/* ==========================
   ゲスト一覧（A案：帯見出し＋白カード型 / Issue #323）
========================== */

.guest-container{
    width:100%;
    max-width:1348px;
    margin:0;
    padding:6px 16px 40px;
    box-sizing:border-box;
}

/* ==========================
   ゲスト名検索（白カード）
========================== */

.guest-search{
    width:100%;
    margin:0 0 16px;
    padding:16px;
    box-sizing:border-box;
    background:#fff;
    border:1px solid var(--theme-border-soft);
    border-radius:18px;
    box-shadow:0 6px 18px rgba(61,44,46,.06);
}

.guest-search form{
    display:flex;
    flex-direction:column;
    gap:8px;
    width:100%;
}

.guest-search label{
    color:var(--theme-text-sub);
    font-size:13px;
    font-weight:bold;
}

.guest-search-row{
    display:flex;
    gap:8px;
    width:100%;
}

.guest-search-row input{
    flex:1;
    min-width:0;
    min-height:44px;
    padding:8px 14px;
    box-sizing:border-box;
    border:1px solid var(--theme-border);
    border-radius:999px;
    background:#fff;
    color:var(--theme-text);
    font-family:inherit;
    font-size:14px;
}

.guest-search-row button{
    flex:0 0 auto;
    min-height:44px;
    padding:8px 22px;
    border:0;
    border-radius:999px;
    background:linear-gradient(135deg,var(--theme-btn-from),var(--theme-primary));
    color:#fff;
    font-family:inherit;
    font-size:14px;
    font-weight:bold;
    cursor:pointer;
}

.guest-search-row button:active{
    transform:scale(.98);
}

/* ==========================
   ゲスト一覧（白カード行）
========================== */

.guest-list{
    display:flex;
    flex-direction:column;
    gap:12px;
    width:100%;
}

.guest-card{
    display:flex;
    align-items:center;
    width:100%;
    min-height:80px;
    margin:0;
    padding:16px;
    box-sizing:border-box;
    background:#fff;
    border:1px solid var(--theme-border-soft);
    border-radius:16px;
    box-shadow:0 6px 18px rgba(61,44,46,.05);
    color:var(--theme-text);
    text-decoration:none;
}

.guest-card:active{
    transform:scale(.99);
}

.guest-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 46px;
    width:46px;
    height:46px;
    margin-right:12px;
    border-radius:50%;
    background:var(--theme-blush);
    color:var(--theme-brand);
}

.guest-icon svg{
    display:block;
    width:23px;
    height:23px;
}

.guest-info{
    display:flex;
    flex-direction:column;
    gap:6px;
    min-width:0;
    flex:1;
}

.guest-name{
    font-size:17px;
    font-weight:bold;
    line-height:1.5;
    word-break:break-word;
    overflow-wrap:anywhere;
}

.guest-detail{
    display:flex;
    flex-direction:column;
    gap:2px;
    color:var(--theme-text-muted);
    font-size:13px;
    line-height:1.5;
}

.guest-detail span{
    display:block;
}

.guest-arrow{
    flex:0 0 auto;
    margin-left:12px;
    color:var(--theme-border);
    font-size:28px;
    line-height:1;
}

.no-guest{
    width:100%;
    margin:0;
    padding:24px 20px;
    box-sizing:border-box;
    border:1px solid var(--theme-border-soft);
    border-radius:16px;
    background:#fff;
    color:var(--theme-text-muted);
    font-size:14px;
    line-height:1.6;
    text-align:center;
    box-shadow:0 6px 18px rgba(61,44,46,.05);
}

/* ==========================
   タブレット・PC
========================== */

@media(min-width:768px){
    .guest-container{
        padding:6px 30px 48px;
    }

    .guest-card{
        min-height:90px;
        padding:18px;
    }

    .guest-detail{
        flex-direction:row;
        gap:18px;
    }
}

@media(min-width:1300px){
    .guest-list{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:15px;
    }
}
