/* Smooth Page Transitions - Frontend Styles */

/* Loading Bar */
#spt-loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

#spt-loading-bar.active {
    opacity: 1;
}

/* Transition Overlay */
#spt-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

#spt-transition-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Page Container */
#spt-page-container {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Content Wrapper */
.spt-content-wrapper {
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/*
* Styles for the [spt_link] Shortcode Button
* -------------------------------------------
*/
.spt-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    margin: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Primary Button Style (Gradient) */
.spt-button-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.spt-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Secondary Button Style (Outline) */
.spt-button-secondary {
    background-color: transparent;
    color: #667eea;
    border-color: #667eea;
}

.spt-button-secondary:hover {
    background-color: #667eea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}
/*
* Styles for the [spt_link] Shortcode Button
* -------------------------------------------
*/
.spt-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    margin: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Primary Button Style (Gradient) */
.spt-button-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.spt-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Secondary Button Style (Outline) */
.spt-button-secondary {
    background-color: transparent;
    color: #667eea;
    border-color: #667eea;
}

.spt-button-secondary:hover {
    background-color: #667eea;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}