
.rotary-search {
    max-width: 760px;
    margin: 40px auto;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.rotary-search h2 {
    color: #17458f;
    margin-bottom: 12px;
}

.rotary-search form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
}

.rotary-search label {
    font-weight: 600;
}

.rotary-search input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
}

.rotary-search button {
    padding: 14px 24px;
    background: #17458f;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.rotary-search button:hover {
    background: #12366f;
}

#rotary-search-result {
    margin-top: 24px;
    overflow-wrap: anywhere;
}


#rotary-search-result {
    margin-top: 24px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    color: #334155;
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

#rotary-search-result:empty {
    display: none;
}

.rotary-search button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.rotary-search input:focus {
    outline: 2px solid #17458f;
    outline-offset: 2px;
}
