@charset "utf-8";
/* Title: Nice Industries Party Time Buttons
** Description: Styles for buttons used across Nice Industries digital products
** Author: Jessica Greenwalt
** Created: 10-26-2025
** Updated: 11-26-2025
************************************** */

/* Flat Standard - Solid black w/white text */
.btn-fs {
    display: inline-block;
    width: 100%;
    border: 2px solid #000;
    border-radius: 10px;
    padding: 10px 20px 14px 20px;
    text-align: center;
    text-decoration: none;
    font-family:'Roboto Slab', Georgia, Lato, Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    background: #000;
    color: #fff;
}

.btn-fs:hover {
    background: #fff;
    color: #000;
}

/* Minimal - Black outline, white inside, black text */
.btn-m {
    display: inline-block;
    border: 2px solid #000;
    border-radius: 10px;
    padding: 8px 16px 10px 16px;
    text-align: center;
    text-decoration: none;
    font-family: "Figtree", Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
    background: #fff;
    color: #000;
}

.btn-m:hover {
    background: #000;
    color: #fff;
}

/* Pop Out */
.btn-po {
    display: inline-block;
    width: 100%;
    border-radius: 10px;
    padding: 10px 20px 14px 20px;
    text-align: center;
    text-decoration: none;
    font-family:'Roboto Slab', Georgia, Lato, Helvetica, Arial, sans-serif;
    font-weight: 650;
    font-size: 18px;
    color: #000;
    border: 4px solid #000;
    box-shadow: -1px 1px 0 #000, 
                -2px 2px 0 #000, 
                -3px 3px 0 #000, 
                -4px 4px 0 #000, 
                -5px 5px 0 #000, 
                -6px 6px 0 #000, 
                -7px 7px 0 #000, 
                -8px 8px 0 #000, 
                -9px 9px 0 #000, 
                -10px 10px 0 #000;
}

.btn-po:hover {
    position: relative;
    left: -7px;
    bottom: -7px;
    color: #000;
    box-shadow: -1px 1px 0 #000, 
                -2px 2px 0 #000,
                -3px 3px 0 #000;
}

/* Pop Out in Header */
header .btn-po {
    z-index: 99;
    display: inline-block;
    width: fit-content;
    border-radius: 8px;
    padding: 3px 10px 6px 10px;
    text-align: center;
    text-decoration: none;
    font-family: 'Roboto Slab', Georgia, Lato, Helvetica, Arial, sans-serif;
    font-weight: 650;
    font-size: 18px;
    color: #000;
    background: #fff;
    border: 2px solid #000;
    box-shadow: -1px 1px 0 #000, 
                -2px 2px 0 #000, 
                -3px 3px 0 #000, 
                -4px 4px 0 #000;
}

header .btn-po:hover {
    position: relative;
    left: -4px;
    bottom: -4px;
    color: #000;
    box-shadow: -1px 1px 0 #000;
}

header .btn-po.black {
    z-index: 88;
    margin-left: 7px;
    color: #fff;
    background: #000;
    box-shadow: -1px 1px 0 #343434, 
                -2px 2px 0 #323232, 
                -3px 3px 0 #2a2a2a, 
                -4px 4px 0 #282828;
}

header .btn-po.black:hover {
    z-index: 88;
    margin-left: 7px;
    color: #fff;
    background: #000;
    box-shadow: -1px 1px 0 #343434;
}

/* Nonprofit selection button */
.btn-np {
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
    overflow: hidden;
    height: 250px;
    width: 100%; /* Changed from max-width to width for consistency */
    max-width: 300px;
    border-radius: 4px;
    border: 2px solid #000;
    color: #000;
    background: #c7c7c7;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-np:hover,
.btn-np:active {
    border: 2px solid #5DF900;
}

.btn-np:hover:not(.selected) {
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Background image positioning */
.btn-np .btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.btn-np .shade {
    z-index: 90;
    position: absolute;
    bottom: 0;
    display: block;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    padding: 9px 10px;
    background: rgba(0, 0, 0, 0);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.6) 62%, rgba(0, 0, 0, 1) 100%);
}

.btn-np .inr-content {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 15px;
    color: #fff;
}

.btn-np .inr-content h3, 
.btn-np .inr-content p {
    text-align: left;
}

.btn-np .inr-content h3 {
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 600;
}

.btn-np .inr-content p {
    font-size: 15px;
    line-height: 22px;
}

.btn-np .pfp {
    display: block;
    overflow: hidden;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: 2px solid #fff;
    background-color: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.btn-np .pfp img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.btn-np .content h3 {
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
}

.btn-np .content p {
    margin-bottom: 5px;
    text-align: left;
    font-size: 14px;
}

/* Nonprofit Selection Styles */

.btn-np.selected {
    border: 2px solid #5DF900;
    box-shadow: 0 0 8px rgba(93, 249, 0, 0.4);
}

/* .btn-np.selected:hover {
    border: 2px solid #5DF900;
} */

/* Fix z-index issues to ensure content is clickable */
.btn-np * {
    pointer-events: none;
}

.btn-np {
    pointer-events: auto;
}

/* Smooth image loading with fade-in */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.btn-np .btn-bg,
.btn-np .pfp img {
    animation: fadeIn 0.3s ease-in;
}

/* Preload state - subtle skeleton effect */
.btn-np:not(.loaded) .btn-bg {
    background: linear-gradient(90deg, #e0e0e0 0%, #f0f0f0 50%, #e0e0e0 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.btn-np-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    padding: 12px 20px;
    margin-top: 10px;
    background: #f5f5f5;
    border: 2px dashed #ccc;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-np-more:hover {
    background: #e8e8e8;
    border-color: #999;
}