/* Fixed Navigation Buttons Styling - Matched to Reference Image */

/* Theme Variables Fallback */
:root {
    --es-primary: #00d2be;
    --es-heading: #0f172a;
    --es-text: #334155;
    --es-border: #e2e8f0;
    --es-bg-hover: #f0fdfc;
}

/* Container */
.fixed-buttons-container {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

/* Wrapper - Vertical Stack */
.fixed-buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Spacing between cards */
    width: 100%;
}

/* Card Style Buttons */
.es-btn {
    display: flex;
    align-items: center;
    width: 100%;
    background: #fff;
    border: 1px solid var(--es-border);
    border-radius: 8px;
    /* Slightly rounded corners */
    padding: 24px;
    /* Increased padding to match spacious look */
    cursor: pointer;
    text-decoration: none !important;
    color: var(--es-heading);
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    min-height: 90px;
    /* Ensure sufficient height */
}

/* Hover Effect - Subtle background change */
.es-btn:hover {
    border-color: var(--es-primary);
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 210, 190, 0.15);
    transform: translateY(-1px);
}

/* Icon Area with Pill Background */
.es-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 24px;
    /* Spacing between icon and text */
    color: var(--es-primary);
    background: rgba(0, 210, 190, 0.08);
    /* Very light teal background */
    width: 48px;
    height: 48px;
    border-radius: 50%;
    /* Circle */
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.es-btn:hover .es-btn-icon {
    background: rgba(0, 210, 190, 0.15);
    /* Slightly darker on hover */
    transform: scale(1.02);
}

.es-btn-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2px;
}

/* Text Content */
.es-btn-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.es-btn-title {
    font-weight: 800;
    /* Bolder title */
    font-size: 1.15rem;
    color: var(--es-heading);
    line-height: 1.2;
    margin-bottom: 4px;
    /* Space between title and subtitle */
    text-align: left;
}

.es-btn-subtitle {
    font-size: 0.9rem;
    color: var(--es-text);
    font-weight: 500;
    text-align: left;
    opacity: 0.9;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .es-btn {
        background: #1e293b;
        border-color: #334155;
    }

    .es-btn-title {
        color: #f1f5f9;
    }

    .es-btn-subtitle {
        color: #94a3b8;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .es-btn {
        padding: 16px;
    }

    .es-btn-icon {
        margin-right: 16px;
        width: 40px;
        height: 40px;
    }

    .es-btn-title {
        font-size: 1rem;
    }

    .es-btn-icon svg {
        width: 20px;
        height: 20px;
    }
}