

/* CERT card */
.cert-pais, .cert-pais p {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 3px;
    border-radius: 10px;
}

.cert-pais .bandera {
    width: 32px;
    margin-right: 10px;
}

.cert-title {
    margin-top: 30px;
}

.cert-badge {
    background: #dddddd;
    padding: 0 10px;
    border-radius: 10px;
    margin: 0;
    text-transform: uppercase;
    font-size: 14px;
}


.cert-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.cert-type, .cert-ambito {
    text-transform: uppercase;
    font-weight: bold;
}

.cert-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

/* Trigger link styles */
.cert-buttons>a {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 5px 20px;
    margin: 0 10px;
    border-radius: 10px;
    text-decoration: none;
    background: #ffffff;
    color: #c00000;
    border: 1px solid #c00000;
}

.cert-buttons>a:hover {
    background: #c00000;
    color: #ffffff;
}

.cert-buttons>a.cci-feed-trigger {
    
}

/* Modal feed */
.cci-feed-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.cci-feed-modal-content {
    background: white;
    padding: 20px;
    border-radius: 4px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    position: relative;
}

.cci-feed-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cci-feed-modal-header h3 {
    margin: 0;
}

.cci-feed-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    color: #666;
}

.cci-feed-modal-close:hover {
    color: #333;
}

.cci-feed-modal-body {
    max-height: calc(80vh - 100px);
    overflow-y: auto;
}

.cci-feed-modal-footer {
    border-top: 1px solid #545454;
    padding: 10px 0;
    margin-top: 40px;
    font-size: 14px;
    text-align: center;
}

.cci-feed-info {
    overflow: hidden;
}

/* Feed items styles */
.cci-feed-items {
    list-style: square;
    margin-left: 20px;
    padding: 0;
}

.cci-feed-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.cci-feed-item:last-child {
    border-bottom: none;
}

.cci-feed-item a {
    color: #333;
    text-decoration: none;
    display: block;
}

.cci-feed-item a:hover {
    color: #c00000;
}

/* Loading state */
.cci-feed-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* Error state */
.cci-feed-error {
    text-align: center;
    padding: 20px;
    color: #cc0000;
}

.cci-feed-error a {
    color: #cc0000;
    text-decoration: underline;
    font-weight: bold;
}

.btn-feed-source {
    display: block;
    margin-top: 20px;
    background: #cc0000;
    color: white !important;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none !important;
    border-radius: 5px;
}
