/* =========================
   Hosting Overview Card (isolated)
========================= */

.hosting-overview-card {
    background: #fff;
    border: 1px solid #d5dfff;
    border-radius: 8px;
    font-family: "DM Sans", sans-serif;
}

/* Header */
.hosting-overview-header {
    background-color: #fafbff;
    border-bottom: 1px solid #d5dfff;
    padding: 16px 20px;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.hosting-overview-header h3 {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* List */
.hosting-overview-list {
    padding: 0;
}

/* Item */
.hosting-overview-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 20px;
    border-bottom: 1px solid #d5dfff;
}

.hosting-overview-item.last-item {
    border-bottom: none;
}

/* Left */
.hosting-overview-left {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

/* Icon */
.hosting-overview-icon {
    background-color: #f2f0ff;
    color: #673de6;
    border-radius: 10px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Info */
.hosting-overview-info {
    display: flex;
    flex-direction: column;
}

.hosting-overview-title {
    font-weight: 600;
    color: #333;
    font-size: 15px;
    margin-bottom: 5px;
}

.hosting-overview-subtext {
    font-size: 13px;
    color: #666;
    margin-top: 3px;
}

/* Links */
.hosting-overview-link {
    color: #673DE6;
    text-decoration: none;
}

.hosting-overview-link:hover {
    color: #5025D1;
}

.hosting-manage-btn {
    display: flex;
    align-items: center;
	align-self: center;
}

/* Button */
.hosting-manage-btn a {
    background-color: #673DE6;
    color: #fff !important;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
    text-align: center;
    transition: background-color 0.2s ease;
}

.hosting-manage-btn a:hover {
    background-color: #5025D1;
}

/* Empty state */
.hosting-no-data-message {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 20px;
    border: 1px solid #d5dfff;
    border-radius: 8px;
    font-size: 15px;
}

/* Mobile */
@media (max-width: 768px) {

    .hosting-overview-item {
        flex-direction: column;
        gap: 12px;
    }

    /* FIX: container styr layouten */
    .hosting-manage-btn {
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }

    /* FIX: knappen blir inte full width längre */
    .hosting-manage-btn a {
        width: auto;
        display: inline-block;
        text-align: center;
    }

    .hosting-no-data-message {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}