/**
 * Pinterest Follow Button Block Frontend Styles
 */

.pinnerpress-follow-button-wrapper {
    margin: 20px 0;
    display: block;
}

.pinnerpress-follow-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
    line-height: 1;
}

.pinnerpress-follow-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    text-decoration: none;
}

.pinnerpress-follow-button:focus {
    outline: 2px solid rgba(230, 0, 35, 0.5);
    outline-offset: 2px;
}

/* Button sizes */
.pinnerpress-follow-btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

.pinnerpress-follow-btn-medium {
    padding: 8px 16px;
    font-size: 14px;
}

.pinnerpress-follow-btn-large {
    padding: 12px 24px;
    font-size: 16px;
}

/* Icon styling */
.pinnerpress-follow-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.pinnerpress-follow-btn-small .pinnerpress-follow-icon {
    width: 14px;
    height: 14px;
}

.pinnerpress-follow-btn-large .pinnerpress-follow-icon {
    width: 18px;
    height: 18px;
}

/* Text styling */
.pinnerpress-follow-text {
    white-space: nowrap;
}

/* Alignment classes */
.pinnerpress-follow-align-left {
    text-align: left;
}

.pinnerpress-follow-align-center {
    text-align: center;
}

.pinnerpress-follow-align-right {
    text-align: right;
}

/* Responsive design */
@media (max-width: 768px) {
    .pinnerpress-follow-button-wrapper {
        margin: 15px 0;
    }
    
    .pinnerpress-follow-btn-large {
        padding: 10px 20px;
        font-size: 15px;
    }
    
    .pinnerpress-follow-btn-medium {
        padding: 7px 14px;
        font-size: 13px;
    }
    
    .pinnerpress-follow-btn-small {
        padding: 5px 10px;
        font-size: 11px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .pinnerpress-follow-button {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .pinnerpress-follow-button {
        transition: none;
    }
    
    .pinnerpress-follow-button:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .pinnerpress-follow-button-wrapper {
        display: none;
    }
}


