/**
 * Hero Card Styles
 */

.drts-dcf-hero {
    border-radius: 16px;
    padding: 1.5rem;
    /* Default padding, will adjust inner layout */
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    /* Ensure flex column to handle footer properly */
    display: flex;
    flex-direction: column;
}

.drts-dcf-hero-content {
    display: flex;
    align-items: flex-start;
    /* Align to top */
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 10;
    margin-bottom: 1.5rem;
}

.drts-dcf-hero-main {
    flex: 1;
}

.drts-dcf-hero-label {
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.9;
    margin: 0 0 0.25rem 0;
    letter-spacing: 0.01em;
}

.drts-dcf-hero-value {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    letter-spacing: 0.025em;
}

/* Copy Button */
.drts-dcf-hero-copy-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 1rem;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: auto;
    height: auto;
}

.drts-dcf-hero-copy-btn svg {
    display: block;
    width: 28px;
    height: 28px;
}

.drts-dcf-hero-copy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.drts-dcf-hero-copy-btn:active {
    transform: scale(0.98);
}

/* Animation for copy success */
@keyframes dcf-hero-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.drts-dcf-hero-check-icon {
    animation: dcf-hero-pulse 0.3s ease-out forwards;
    width: 28px;
    height: 28px;
    display: block;
}

.drts-dcf-hero-req-success {
    position: absolute;
    top: 100%;
    right: 0;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 4px;
    white-space: nowrap;
}

/* Footer Section */
.drts-dcf-hero-footer {
    background: rgba(0, 0, 0, 0.15);
    /* Darker overlay box */
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-top: auto;
    /* Push to bottom if needed */
    border-top: none;
}

.drts-dcf-hero-footer p {
    margin: 0;
}

.drts-dcf-hero-footer .drts-dcf-hero-label {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.drts-dcf-hero-footer-text {
    font-size: 1.1rem;
    opacity: 1;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 640px) {
    .drts-dcf-hero-value {
        font-size: 2.25rem;
    }
}