/**
 * Plugin Name: ClassiPress Bump Ad
 * Plugin URI: http://roidayan.com
 * Author: Roi Dayan
 */

/* Main Wrapper */
.cp-bump-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 25px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    gap: 15px;
    /* Decreased gap to bring card closer to button */
    width: 100%;
    box-sizing: border-box;
}

/* Bump Button (Flat & Neutral) */
.cp-bump-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    color: #333 !important;
    padding: 12px 35px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: 1px solid #ddd;
    line-height: normal;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.cp-bump-btn:hover {
    background-color: #e9ecef;
    border-color: #c6c7c8;
    color: #222 !important;
    transform: translateY(-1px);
}

.cp-bump-btn:active {
    background-color: #dde2e6;
    transform: translateY(0);
}

/* Icon */
.cp-bump-icon-wrapper {
    margin-right: 12px;
    font-size: 16px;
    color: #555;
    display: flex;
    align-items: center;
}

.cp-bump-btn:hover .cp-bump-icon-wrapper {
    color: #333;
}

/* Info Card (Modern & Clean) */
.cp-bump-info-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
    padding: 20px;
    max-width: 650px;
    width: 95%;
    /* Prevent overflow */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    text-align: left;
    position: relative;
    box-sizing: border-box;
}

/* Arrow Pointing Up */
.cp-bump-info-card::before {
    content: "";
    position: absolute;
    top: -8px;
    /* Move slightly above the container */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #0073aa;
    /* Match border-left or just gray */
}

/* Alternative style for arrow if we want it to look like it comes from the card body color */
.cp-bump-info-card::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}


.cp-bump-info-header {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    flex-wrap: wrap;
    /* Prevent overflow on small screens */
}

.cp-bump-info-header i {
    color: #0073aa;
    font-size: 16px;
}

.cp-bump-info-content {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

/* Loader */
.bump-loader {
    background: transparent url(images/loader.gif) no-repeat;
    border: 0 none;
    height: 25px;
    width: 25px;
    display: inline-block !important;
    vertical-align: middle;
    margin-left: 10px;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .cp-bump-btn {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }

    .cp-bump-info-card {
        padding: 15px;
        text-align: center;
        width: 100%;
    }

    .cp-bump-info-header {
        justify-content: center;
    }

    .cp-bump-info-card::before,
    .cp-bump-info-card::after {
        left: 50%;
        /* Keep centered on mobile too */
    }
}