/* ==========================================================================
   Details and Cards
   ========================================================================== */

   .details-container {
    width: 100%;
}

.details-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 20px;
}

.details-item-left {
    flex: 0 0 250px;
    margin-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.details-item-left img {
    max-width: 75%;
    height: auto;
    border-radius: 8px;
}

.details-item-right {
    flex: 1;
    position: relative;
}

.top-right-section {
    position: absolute;
    top: -15px;
    right: -10px;
    display: flex;
    border-bottom: 4px solid #5985e1;
}

.top-right-section img {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.top-right-section h3 {
    cursor: pointer;
    margin: 0;
    font-weight: bold;
    color: #5985e1;
}

.details-item-right h2 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 10px;
}

.details-item-right p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.buttons-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
}

.buttons-container button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
}

.view-site-button,
.request-subscription-button {
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
    margin-right: 15px;
}

.view-site-button:hover,
.request-subscription-button:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .details-item {
        flex-direction: column;
    }

    .details-item-left {
        flex: none;
        width: 100%;
        margin-bottom: 20px;
    }
}

.renewal-cta {
    background-color: #ff4500; /* Vibrant orange for urgency */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
  }
  .renewal-cta:hover {
    background-color: #d83b01; /* Darker orange on hover */
  }
  .renewal-cta:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
  }