/* assets/css/cckeyphrase.css */
.cckeyphrase-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px;
    max-height: 298px;
    overflow-y: auto;
    border: 1px solid #3e5500;
    border-radius: 4px;
    background: #081e02;
    margin: 10px 0;
}

.cckeyphrase {
    padding: 8px 12px;
    border: 1px solid #3e5500;
    border-radius: 4px;
    color: #B0C4DE;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.cckeyphrase:hover {
    background: #1e4d08;
    color: #ff9700;
}

.cckeyphrase.selected {
    background: #3e5500;
    color: #fdfde5;
}

.cckeyphrase-input-area {
    margin-top: 10px;
    padding: 10px;
    background: #113803;
    display: flex;
    align-items: center;
}

.cc-keyphrase-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #113803;
    border: 2px solid #3e5500;
    border-radius: 8px;
    padding: 20px;
    z-index: 1001;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    width: 600px;
    max-height: 80vh;
}

/* New CSS rules for input elements */
.cc-keyphrase-input {
    width: calc(100% - 180px);
    padding: 8px;
    border: 1px solid #3e5500;
    border-radius: 4px;
    background: #081e02;
    color: #fdfde5;
    margin-right: 10px;
}

.cc-keyphrase-type {
    width: 100px;
    padding: 8px;
    border: 1px solid #3e5500;
    border-radius: 4px;
    background: #081e02;
    color: #fdfde5;
    margin-left: 3px;
}

.cc-keyphrase-add-btn {
    background: #3e5500;
    color: #fdfde5;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 12px;
    transition: background 0.3s ease;
}

.cc-keyphrase-add-btn:hover {
    background: #4a6700;
}