.cloud-customer-area-container .cloud-customer-area-table {
    background-color: var(--cca-table-bg);
    color: var(--cca-table-text-color);
    border: 1px solid var(--cca-table-border-color);
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
}

.cloud-customer-area-container .cloud-customer-area-table-loading td {
    background-image: var(--cca-table-loading-img);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100px;
    height: 200px;
    opacity: .5;
}

.cloud-customer-area-container .cloud-customer-area-table-icon {
    height: 16px;
    width: 16px;
    display: inline-block;
    margin: 0 5px;
    vertical-align: text-bottom;
}

/* Nuovi stili per le icone di cartella e file */
.cloud-customer-area-container .cloud-customer-area-table-icon.folder-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666666"><path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/></svg>'); /* Icona SVG generica per cartella */
    background-size: contain;
    background-repeat: no-repeat;
}

.cloud-customer-area-container .cloud-customer-area-table-icon.file-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666666"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z"/></svg>'); /* Icona SVG generica per file */
    background-size: contain;
    background-repeat: no-repeat;
}


.cloud-customer-area-container .cloud-customer-area-table-logout {
    font-size: small;
    opacity: .7;
}

.cloud-customer-area-container .cloud-customer-area-table thead tr {
    background-color: var(--cca-table-head-bg);
    color: var(--cca-table-head-text-color);
}

.cloud-customer-area-container .cloud-customer-area-table tbody tr,
.cloud-customer-area-container .cloud-customer-area-table tbody td {
    border-color: var(--cca-table-border-color);
}

.cloud-customer-area-container .cloud-customer-area-table tr,
.cloud-customer-area-container .cloud-customer-area-table th {
    border: 0;
    margin: 0;
}

.cloud-customer-area-container .cloud-customer-area-table td,
.cloud-customer-area-container .cloud-customer-area-table th {
    padding: 10px 15px;
    text-align: center;
}

.cloud-customer-area-container .cloud-customer-area-table td:first-child,
.cloud-customer-area-container .cloud-customer-area-table th:first-child {
    text-align: left;
}

.cloud-customer-area-container .cloud-customer-area-table td {
    font-size: small;
    border-right: 1px dashed;
}

.cloud-customer-area-container .cloud-customer-area-table td:last-child {
    border-right: 0;
}

.cloud-customer-area-container .cloud-customer-area-table tr {
    border-bottom: 1px solid;
}

.cloud-customer-area-container .cloud-customer-area-table tr:last-child {
    border-bottom: 0;
}

.cloud-customer-area-container .loading {
    position: relative;
    pointer-events: none;
    overflow: hidden;
}

.cloud-customer-area-container .loading:before {
    background-image: var(--cca-table-loading-img);
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .9);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.cloud-customer-area-container .loading:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: var(--cca-loading-width);
    height: 10%;
    background-color: var(--cca-table-border-color);
    z-index: 1;
    transition: width .3s ease-in;
}

/* --- Nuovi stili per la navigazione delle cartelle e il breadcrumb --- */

.cloud-customer-area-container .cca-folder-link {
    color: var(--cca-table-text-color); /* Per mantenere il colore del testo della tabella */
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.cloud-customer-area-container .cca-folder-link:hover {
    text-decoration: underline;
}

.cloud-customer-area-container .cca-breadcrumb {
    margin-bottom: 15px;
    font-size: 0.9em;
    color: var(--cca-table-text-color);
    padding: 5px 0;
}

.cloud-customer-area-container .cca-breadcrumb-item {
    color: #0073aa; /* Colore link WordPress predefinito */
    text-decoration: none;
}

.cloud-customer-area-container .cca-breadcrumb-item:hover {
    text-decoration: underline;
}

.cloud-customer-area-container .cca-breadcrumb-separator {
    margin: 0 5px;
    color: var(--cca-table-text-color);
}

.cloud-customer-area-container .cca-breadcrumb span {
    font-weight: bold;
}