/*
Theme Name: Bryze Phideoshare Theme
Theme URI: https://www.bryze.nl/
Author: Jouw Naam & Cascade
Author URI: https://www.bryze.nl/
Description: A modern, WeTransfer-inspired theme designed specifically for the Bryze Phideoshare platform. This theme provides the templates for login, registration, dashboard, and the upload functionality.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-logo, custom-menu, featured-images, theme-options
Text Domain: bryze-phideoshare
*/

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 0;
    padding: 0;
    background: #0a0c12;
    background-image: url('assets/images/phideoshare-bg.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-attachment: fixed;
    min-height: 100vh;
    color: #e4e4ea;
}

/* Override plugin shorthand 'background' that clears the image */
/* Higher specificity (html body) to beat plugin's "background: var(--ps-bg) !important" shorthand */
html body.phideoshare-dark {
    background-color: #0a0c12 !important;
    background-image: url('assets/images/phideoshare-bg.png') !important;
    background-position: center bottom !important;
    background-repeat: no-repeat !important;
    background-size: 100% auto !important;
    background-attachment: fixed !important;
}

/* Welcome Page Styling */
.phideoshare-welcome {
    max-width: 500px;
    margin: 80px auto;
    text-align: center;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.phideoshare-logo {
    margin-bottom: 30px;
}

.phideoshare-logo svg {
    width: 240px;
    height: 120px;
}

.phideoshare-main-logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.phideoshare-welcome h1 {
    color: #e2e8f0;
    margin-bottom: 15px;
    font-size: 2.8em;
    font-weight: 300;
    letter-spacing: -1px;
}

.phideoshare-welcome p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1em;
    margin-bottom: 40px;
    line-height: 1.6;
}

.phideoshare-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.phideoshare-button {
    display: inline-block;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.phideoshare-button.primary {
    background: linear-gradient(135deg, #e8585d 0%, #d44449 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(232, 88, 93, 0.3);
}

.phideoshare-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(232, 88, 93, 0.4);
}

.phideoshare-button:not(.primary) {
    background: transparent;
    color: #e8585d;
    border-color: #e8585d;
    backdrop-filter: blur(10px);
}

.phideoshare-button:not(.primary):hover {
    background: rgba(232, 88, 93, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(232, 88, 93, 0.2);
}

/* Notice Styling */
.phideoshare-notice {
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    border-left: 4px solid;
}

.phideoshare-notice.notice-info {
    background: rgba(232, 88, 93, 0.1);
    border-left-color: #e8585d;
    color: #e8585d;
}

.phideoshare-notice.notice-warning {
    background: rgba(255, 193, 7, 0.08);
    border-left-color: #ff9800;
    color: #ff9800;
}

.phideoshare-notice h2,
.phideoshare-notice h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.phideoshare-upgrade-options {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.5);
    border-radius: 5px;
}

.phideoshare-upgrade-options h3 {
    color: #e8585d;
    margin-bottom: 15px;
}

.phideoshare-upgrade-options p {
    margin-bottom: 10px;
}

/* Login Page Styling */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.phideoshare-login-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.success-checkmark {
    background: #27ae60;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 10px auto;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.login-logo h2 {
    color: #e2e8f0;
    margin-bottom: 30px;
    font-weight: 300;
    font-size: 1.8em;
}

.phideoshare-login-form {
    margin-bottom: 30px;
}

.phideoshare-login-form input[type="text"],
.phideoshare-login-form input[type="password"] {
    width: 100%;
    padding: 16px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}

.phideoshare-login-form input[type="text"]:focus,
.phideoshare-login-form input[type="password"]:focus {
    outline: none;
    border-color: #e8585d;
    box-shadow: 0 0 0 3px rgba(232, 88, 93, 0.2);
}

.phideoshare-login-form input[type="submit"] {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #e8585d 0%, #d44449 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(232, 88, 93, 0.3);
}

.phideoshare-login-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(232, 88, 93, 0.4);
}

.login-links {
    margin-top: 20px;
}

.login-links a {
    color: #e8585d;
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.login-links a:hover {
    color: #f07070;
}

/* Registration Form Styling */
#registration-form input[type="text"],
#registration-form input[type="email"] {
    width: 100%;
    padding: 16px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    box-sizing: border-box;
}

#registration-form input[type="text"]:focus,
#registration-form input[type="email"]:focus {
    outline: none;
    border-color: #e8585d;
    box-shadow: 0 0 0 3px rgba(232, 88, 93, 0.1);
}

#registration-form label {
    display: block;
    margin-bottom: 5px;
    color: #e2e8f0;
    font-weight: 500;
    text-align: left;
}

#registration-form .button-primary {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #e8585d 0%, #d44449 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(232, 88, 93, 0.3);
}

#registration-form .button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(232, 88, 93, 0.4);
}

#reg_passmail {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    text-align: center;
    margin: 20px 0;
}

/* Download Page Styling */
.phideoshare-download-box {
    max-width: 600px;
    margin: 50px auto;
    padding: 40px;
    background: #141825;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.phideoshare-download-box h2 {
    color: #e8585d;
    margin-bottom: 20px;
    font-size: 2em;
}

.phideoshare-download-button {
    display: inline-block;
    padding: 15px 30px;
    background: #e8585d !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 5px;
    font-weight: 500;
    font-size: 1.1em;
    margin: 20px 0;
    transition: all 0.3s ease;
    border: 2px solid #e8585d;
}

.phideoshare-download-button:hover {
    background: #d44449 !important;
    border-color: #d44449;
    transform: translateY(-2px);
    color: white !important;
}

.phideoshare-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.phideoshare-thumbnails img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .phideoshare-welcome {
        margin: 40px 20px;
        padding: 40px 30px;
        max-width: none;
    }
    
    .phideoshare-welcome h1 {
        font-size: 2.2em;
    }
    
    .phideoshare-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .phideoshare-button {
        width: 100%;
        text-align: center;
    }
    
    .login-container {
        padding: 20px 15px;
    }
    
    .login-box {
        padding: 40px 30px;
        max-width: none;
    }
    
    .phideoshare-logo svg {
        width: 100px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .phideoshare-welcome {
        margin: 20px 15px;
        padding: 30px 20px;
    }
    
    .phideoshare-welcome h1 {
        font-size: 1.8em;
    }
    
    .login-box {
        padding: 30px 20px;
    }
    
    .phideoshare-logo svg {
        width: 80px;
        height: 40px;
    }
}

/* Registration Success Page Styling */
.registration-success {
    text-align: center;
}

.registration-success h2 {
    color: #27ae60;
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: 300;
}

.success-message {
    background: rgba(39, 174, 96, 0.1);
    border: 2px solid rgba(39, 174, 96, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.success-message p {
    color: #27ae60;
    margin-bottom: 10px;
    font-weight: 500;
}

.next-steps {
    background: rgba(232, 88, 93, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    text-align: left;
}

.next-steps h3 {
    color: #e4e4ea;
    margin-bottom: 15px;
    font-size: 1.2em;
    text-align: center;
}

.next-steps ol {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    padding-left: 20px;
}

.next-steps li {
    margin-bottom: 8px;
}

.registration-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

@media (max-width: 480px) {
    .registration-actions {
        flex-direction: column;
    }
    
    .registration-actions .phideoshare-button {
        width: 100%;
    }
}

/* User Profile Styling */
.phideoshare-user-profile {
    background: rgba(22, 27, 46, 0.55);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 30px;
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(232, 88, 93, 0.1);
}

.profile-avatar {
    margin-right: 20px;
}

.profile-avatar img {
    border-radius: 50%;
    border: 3px solid rgba(232, 88, 93, 0.3);
}

.profile-info h3 {
    color: #e4e4ea;
    margin: 0 0 5px 0;
    font-size: 1.5em;
    font-weight: 600;
}

.profile-email {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.9em;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    background: linear-gradient(135deg, rgba(232, 88, 93, 0.05) 0%, rgba(232, 88, 93, 0.02) 100%);
    border: 2px solid rgba(232, 88, 93, 0.1);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 88, 93, 0.15);
}

.stat-box.premium {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
    border-color: rgba(255, 215, 0, 0.3);
}

.stat-box.admin {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1) 0%, rgba(103, 58, 183, 0.1) 100%);
    border-color: rgba(156, 39, 176, 0.3);
}

.stat-icon {
    font-size: 2em;
    margin-right: 15px;
    opacity: 0.8;
}

.stat-content h4 {
    color: #e4e4ea;
    margin: 0 0 5px 0;
    font-size: 0.9em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    color: #e8585d;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-description {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8em;
}

.low-credits-notice {
    background: rgba(231, 76, 60, 0.1);
    border: 2px solid rgba(231, 76, 60, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
}

.low-credits-notice h4 {
    color: #e74c3c;
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.low-credits-notice p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Profile Actions Styling */
.profile-actions {
    margin-top: 25px;
}

.upgrade-options {
    background: linear-gradient(135deg, rgba(232, 88, 93, 0.05) 0%, rgba(232, 88, 93, 0.02) 100%);
    border: 2px solid rgba(232, 88, 93, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}

.upgrade-options h4 {
    color: #e4e4ea;
    margin: 0 0 10px 0;
    font-size: 1.1em;
    font-weight: 600;
}

.upgrade-options p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 20px 0;
    font-size: 0.9em;
}

.phideoshare-button.premium {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border: none;
}

.phideoshare-button.premium:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    transform: translateY(-2px);
}

.low-credits-warning {
    margin-top: 15px;
    padding: 10px 15px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
}

.low-credits-warning p {
    margin: 0;
    color: #f39c12;
    font-size: 0.9em;
}

.page-title-section h1 {
    color: #ffffff;
    margin: 0 0 10px 0;
    font-size: 2em;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-title-section p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1.1em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .profile-stats {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .phideoshare-button {
        width: 100%;
    }
    
    .phideoshare-page-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .page-title-section {
        order: 1;
    }
    
    .dashboard-actions {
        order: 2;
        width: 100%;
        justify-content: center;
    }
}

/* Uniform Main Header — sticky + glassmorphism */
.phideoshare-main-header {
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 10000;
    width: 100%;
    left: 0;
    right: 0;
}

/* Override plugin's solid #07080d on body.phideoshare-dark header
   html prefix gives higher specificity than plugin's "body.phideoshare-dark header" */
html body.phideoshare-dark .phideoshare-main-header,
html body.phideoshare-dark header.phideoshare-main-header {
    background: rgba(22, 27, 46, 0.55) !important;
    background-color: rgba(22, 27, 46, 0.55) !important;
    background-image: none !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
}

/* Prevent plugin's "header *" rule from breaking header children
   html prefix beats plugin's "body.phideoshare-dark header *" specificity */
html body.phideoshare-dark .phideoshare-main-header .site-logo img {
    background: transparent !important;
}

html body.phideoshare-dark .phideoshare-main-header .phideoshare-button.header-button {
    background: rgba(255, 255, 255, 0.08) !important;
}

html body.phideoshare-dark .phideoshare-main-header .phideoshare-button.header-button:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

html body.phideoshare-dark .phideoshare-main-header .phideoshare-button.header-button.logout {
    background: rgba(231, 76, 60, 0.15) !important;
}

html body.phideoshare-dark .phideoshare-main-header .cart-icon-link,
html body.phideoshare-dark .phideoshare-main-header .theme-toggle {
    background: transparent !important;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    max-width: 200px;
    height: auto;
    flex-shrink: 0;
}

.site-logo img {
    width: 100%;
    height: auto;
    max-height: 50px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.custom-profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(232, 88, 93, 0.2);
}

.site-branding {
    color: white;
}

.site-title {
    margin: 0;
    font-size: 1.8em;
    font-weight: 600;
}

.site-title a {
    color: white;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.site-description {
    margin: 0;
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    font-weight: 300;
}

.header-actions {
    display: flex;
    gap: 25px; /* More space between support and cart */
    align-items: center;
}


.phideoshare-button.header-button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-size: 0.9em;
    padding: 8px 16px;
}

.phideoshare-button.header-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.phideoshare-button.header-button.logout {
    background: rgba(231, 76, 60, 0.15) !important;
    border-color: rgba(231, 76, 60, 0.4) !important;
    color: #fff !important;
}

.phideoshare-button.header-button.logout:hover {
    background: rgba(231, 76, 60, 0.35) !important;
    border-color: rgba(231, 76, 60, 0.6) !important;
    color: #fff !important;
}

/* Page Container */
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Dashboard Styling */
.phideoshare-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 2px solid rgba(232, 88, 93, 0.1);
}

.phideoshare-page-header h1 {
    color: #ffffff;
    margin: 0;
    font-size: 2.5em;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.dashboard-actions {
    display: flex;
    gap: 15px;
}

.phideoshare-button.logout {
    background: #e74c3c;
    color: #fff;
    border: 2px solid #c0392b;
}

.phideoshare-button.logout:hover {
    background: #c0392b;
    color: #fff;
    transform: translateY(-2px);
}

.dashboard-sections {
    display: grid;
    gap: 30px;
}

.dashboard-section {
    background: rgba(22, 27, 46, 0.55);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-section h2 {
    color: #e4e4ea;
    margin: 0 0 20px 0;
    font-size: 1.5em;
    font-weight: 600;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.action-card {
    background: linear-gradient(135deg, rgba(232, 88, 93, 0.05) 0%, rgba(232, 88, 93, 0.02) 100%);
    border: 2px solid rgba(232, 88, 93, 0.1);
    border-radius: 15px;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(232, 88, 93, 0.2);
    border-color: rgba(232, 88, 93, 0.3);
}

.action-card.upload-card:hover {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
    border-color: rgba(39, 174, 96, 0.3);
}

.action-card.credits-card:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 235, 59, 0.1) 100%);
    border-color: rgba(255, 193, 7, 0.3);
}

.action-card.profile-card:hover {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1) 0%, rgba(103, 58, 183, 0.1) 100%);
    border-color: rgba(156, 39, 176, 0.3);
}

.action-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    opacity: 0.8;
}

.action-card h3 {
    color: #e4e4ea;
    margin: 0 0 10px 0;
    font-size: 1.2em;
    font-weight: 600;
}

.action-card p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.9em;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .phideoshare-page-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .dashboard-actions {
        width: 100%;
        justify-content: center;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
}

/* Account Page Styling */
.account-sections {
    display: grid;
    gap: 30px;
}

.account-section {
    background: #141825;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.account-section h2 {
    color: #e4e4ea;
    margin: 0 0 25px 0;
    font-size: 1.5em;
    font-weight: 600;
    border-bottom: 2px solid rgba(232, 88, 93, 0.1);
    padding-bottom: 15px;
}

.account-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e4e4ea;
    font-weight: 500;
    font-size: 0.95em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(232, 88, 93, 0.1);
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: #141825;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: rgba(232, 88, 93, 0.5);
    box-shadow: 0 0 0 3px rgba(232, 88, 93, 0.1);
    background: #1a1f32;
}

.form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(232, 88, 93, 0.1);
}

.phideoshare-notice {
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    font-weight: 500;
}

.phideoshare-notice.success {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 2px solid rgba(39, 174, 96, 0.2);
}

.phideoshare-notice.error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 2px solid rgba(231, 76, 60, 0.2);
}

/* Page Intro Styling */
.page-intro {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #141825;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.page-intro p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1em;
}

.dashboard-quick-actions {
    text-align: center;
    margin-bottom: 30px;
}

/* Mobile Responsiveness for Header */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .header-logo-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .phideoshare-button.header-button {
        flex: 1;
        min-width: 120px;
    }
    
    .site-title {
        font-size: 1.5em;
    }
    
    .site-description {
        font-size: 1em;
    }
    
    .account-sections {
        gap: 20px;
    }
    
    .account-section {
        padding: 20px;
    }
    
    .account-form {
        max-width: 100%;
    }
}

/* Profile Image Upload Styling */
.profile-image-section {
    border: 2px solid rgba(232, 88, 93, 0.1);
    border-radius: 15px;
    padding: 20px;
    background: rgba(232, 88, 93, 0.02);
}

.profile-image-upload {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.current-profile-image {
    flex-shrink: 0;
}

.profile-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(232, 88, 93, 0.2);
    background: #0e1119;
}

.image-upload-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 200px;
}

.image-upload-input {
    display: none;
}

.phideoshare-button.secondary {
    background: rgba(232, 88, 93, 0.15);
    color: #f0f0f4;
    border: 2px solid rgba(232, 88, 93, 0.3);
}

.phideoshare-button.secondary:hover {
    background: rgba(232, 88, 93, 0.25);
    border-color: rgba(232, 88, 93, 0.5);
    color: #ffffff;
}

.phideoshare-button.outline {
    background: transparent;
    color: #e74c3c;
    border: 2px solid rgba(231, 76, 60, 0.3);
}

.phideoshare-button.outline:hover {
    background: rgba(231, 76, 60, 0.1);
    border-color: rgba(231, 76, 60, 0.5);
}

/* Preview Messages */
.preview-message {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9em;
    animation: slideIn 0.3s ease-out;
}

.preview-message p {
    margin: 0;
    font-weight: 500;
}

.preview-success {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.preview-error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state styling */
.phideoshare-button.loading {
    opacity: 0.7;
    pointer-events: none;
}

@media (max-width: 768px) {
    .profile-image-upload {
        flex-direction: column;
        text-align: center;
    }
    
    .image-upload-controls {
        width: 100%;
        align-items: center;
    }
}

/* Credits Shop Styling */
.credits-shop-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #141825; /* Dark card background */
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.current-credits {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e8585d 0%, #d44449 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 15px;
}

.credits-amount {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 1.1em;
}

.credit-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.credit-package {
    background: #141825; /* Dark card background */
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(232, 88, 93, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.credit-package::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #e8585d 0%, #d44449 100%);
}

.credit-package:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(232, 88, 93, 0.3);
}

.package-header {
    text-align: center;
    margin-bottom: 20px;
}

.package-header h3 {
    margin: 0 0 10px 0;
    color: #e4e4ea;
    font-size: 1.4em;
}

.package-header .credits-amount {
    background: linear-gradient(135deg, #e8585d 0%, #d44449 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1.2em;
    font-weight: 600;
    display: inline-block;
}

.package-details {
    text-align: center;
    margin-bottom: 20px;
}

.package-details .price {
    font-size: 2em;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 5px;
}

.package-details .value {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
}

.package-description {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.package-actions {
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.info-item {
    text-align: center;
    padding: 25px;
    background: #141825; /* Dark card background */
    border-radius: 15px;
    border: 2px solid rgba(232, 88, 93, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.info-item h3 {
    margin: 0 0 10px 0;
    color: #e4e4ea;
}

.info-item p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.5;
}

.transactions-list {
    background: #141825; /* Dark card background */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(232, 88, 93, 0.2);
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.transaction-type {
    font-weight: 600;
    font-size: 0.9em;
}

.transaction-type.purchase {
    color: #27ae60;
}

.transaction-type.spend {
    color: #e74c3c;
}

.transaction-type.refund {
    color: #f39c12;
}

.transaction-description {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
}

.transaction-details {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.transaction-amount {
    font-weight: 600;
}

.transaction-amount.purchase {
    color: #27ae60;
}

.transaction-amount.spend {
    color: #e74c3c;
}

.transaction-amount.refund {
    color: #f39c12;
}

.transaction-date {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8em;
}

.no-products {
    text-align: center;
    padding: 40px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.no-products p {
    color: #e74c3c;
    margin: 10px 0;
}

/* Compact Credits Info */
.credits-info-compact {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(232, 88, 93, 0.05) 0%, rgba(232, 88, 93, 0.02) 100%);
    border: 2px solid rgba(232, 88, 93, 0.1);
    border-radius: 15px;
}

.credit-model-info h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #e4e4ea;
    font-size: 1.3em;
}

.model-summary {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.login-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.model-label {
    display: block;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

.model-value {
    display: block;
    font-weight: 600;
    color: #e4e4ea;
    font-size: 1.1em;
}

.credits-pricing-overview h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.2em;
    color: #e4e4ea;
    font-weight: 600;
}

.pricing-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.pricing-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.pricing-card {
    background: #141825;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.pricing-card.starter {
    border-color: rgba(52, 152, 219, 0.3);
}

.pricing-card.popular {
    border-color: rgba(46, 204, 113, 0.5);
    transform: scale(1.05);
}

.pricing-card.premium {
    border-color: rgba(155, 89, 182, 0.3);
}

.pricing-card.enterprise {
    border-color: rgba(230, 126, 34, 0.3);
}

.popular-badge {
    position: absolute;
    top: -2px;
    right: 20px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 0 0 10px 10px;
    font-size: 0.9em;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}

.card-header {
    text-align: center;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #e4e4ea;
    font-weight: 600;
}

.credits-badge {
    background: linear-gradient(135deg, #e8585d 0%, #d44449 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    display: inline-block;
}

.card-body {
    text-align: center;
}

.price {
    font-size: 2.5em;
    font-weight: 700;
    color: #e4e4ea;
    margin-bottom: 5px;
}

.data-amount {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1em;
    margin-bottom: 20px;
}

.features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.features li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95em;
}

.value-indicator {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.9em;
    font-weight: 600;
    margin-top: 15px;
    display: inline-block;
}

/* Pricing Benefits */
.pricing-benefits {
    margin-top: 40px;
    text-align: center;
}

.pricing-benefits h3 {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: #e4e4ea;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.benefit-item {
    background: #141825;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.benefit-item h4 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #e4e4ea;
    font-weight: 600;
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0;
}

/* Legal Documents Styling */
.legal-document-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: #141825;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #e8585d 0%, #d44449 100%);
    color: white;
    border-radius: 15px;
}

.legal-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 600;
}

.last-updated {
    opacity: 0.9;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.legal-content {
    background: #141825;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.terms-section {
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.terms-section:last-child {
    border-bottom: none;
}

.terms-section h2 {
    color: #e4e4ea;
    font-size: 1.8em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #e8585d;
    display: inline-block;
}

.highlight-section {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05) 0%, rgba(192, 57, 43, 0.05) 100%);
    border-left: 5px solid #e74c3c;
}

.guarantee-box {
    background: #141825;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #e74c3c;
    margin: 20px 0;
}

.guarantee-box h3 {
    color: #e74c3c;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.guarantee-list {
    list-style: none;
    padding: 0;
}

.guarantee-list li {
    padding: 8px 0;
    font-size: 1.05em;
    line-height: 1.6;
}

.guarantee-statement {
    background: rgba(231, 76, 60, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 1.1em;
    text-align: center;
}

.not-do-list {
    list-style: none;
    padding: 0;
}

.not-do-list li {
    padding: 5px 0;
    color: #e74c3c;
    font-weight: 500;
}

.terms-content ul {
    line-height: 1.8;
}

.terms-content li {
    margin-bottom: 8px;
}

.contact-section {
    background: linear-gradient(135deg, rgba(232, 88, 93, 0.05) 0%, rgba(232, 88, 93, 0.02) 100%);
}

.legal-footer {
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #0a0c12 0%, #141825 100%);
    color: white;
    border-radius: 15px;
    text-align: center;
}

.trust-summary h3 {
    margin-bottom: 25px;
    font-size: 1.5em;
}

.trust-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.trust-point {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.trust-point .icon {
    font-size: 1.5em;
}

.trust-point .text {
    font-weight: 600;
}

/* Registration Trust Elements */
.registration-trust {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(39, 174, 96, 0.1) 100%);
    border: 2px solid rgba(46, 204, 113, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin: 20px -40px;
    max-width: none;
    width: calc(100% + 80px);
}

.registration-trust h3 {
    color: #27ae60;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

.trust-item {
    background: #141825;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trust-item .trust-icon {
    font-size: 2em;
    margin-bottom: 10px;
    display: block;
}

.trust-item h4 {
    color: #e4e4ea;
    margin-bottom: 8px;
    font-size: 1em;
}

.trust-item p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
    margin: 0;
    line-height: 1.4;
}

.terms-checkbox {
    background: #0e1119;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.terms-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    line-height: 1.6;
}

.terms-checkbox input[type="checkbox"] {
    margin-top: 4px;
    transform: scale(1.2);
}

.terms-checkbox.required {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

/* Mobile Responsiveness for Legal Pages */
@media (max-width: 768px) {
    .legal-document-container {
        padding: 15px;
    }
    
    .legal-header {
        padding: 20px;
    }
    
    .legal-header h1 {
        font-size: 2em;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .terms-section {
        padding: 20px;
    }
    
    .trust-points {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

/* Homepage Trust Elements */
.homepage-trust {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.05) 0%, rgba(39, 174, 96, 0.05) 100%);
    border: 2px solid rgba(46, 204, 113, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
    max-width: 100%;
    width: 100%;
}

.homepage-trust h2 {
    color: #27ae60;
    margin-bottom: 30px;
    font-size: 2em;
}

.trust-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 30px 0;
    max-width: none;
}

@media (max-width: 1200px) {
    .trust-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.trust-feature {
    background: #141825;
    padding: 25px 15px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trust-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
}

.trust-feature h3 {
    color: #e4e4ea;
    margin-bottom: 8px;
    font-size: 1.1em;
    font-weight: 600;
}

.trust-feature p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
    line-height: 1.4;
    margin: 0;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.security-badge {
    background: #141825;
    padding: 12px 20px;
    border-radius: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    font-weight: 600;
    color: #e4e4ea;
    transition: all 0.3s ease;
}

.security-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.security-badge.clickable {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(192, 57, 43, 0.1) 100%);
    border: 2px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
    text-decoration: none;
    cursor: pointer;
}

.security-badge.clickable:hover {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2) 0%, rgba(192, 57, 43, 0.2) 100%);
    border-color: rgba(231, 76, 60, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.2);
}

.badge-icon {
    font-size: 1.2em;
}

.legal-links {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-links a {
    color: #e8585d;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #f07070;
    text-decoration: underline;
}

.legal-links span {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.3);
}

/* Mobile Responsiveness for Homepage */
@media (max-width: 768px) {
    .homepage-trust {
        padding: 25px;
        margin: 25px 0;
    }
    
    .homepage-trust h2 {
        font-size: 1.5em;
    }
    
    .trust-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .security-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .security-badge {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* Anti-AI Guarantee Page Styling */
.importance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.importance-item {
    background: #141825;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.importance-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.importance-icon {
    font-size: 2.5em;
    display: block;
    margin-bottom: 15px;
}

.importance-item h4 {
    color: #e4e4ea;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.importance-item p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.guarantee-card {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05) 0%, rgba(192, 57, 43, 0.05) 100%);
    border: 2px solid rgba(231, 76, 60, 0.2);
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.guarantee-card:hover {
    border-color: rgba(231, 76, 60, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.1);
}

.guarantee-card h4 {
    color: #e74c3c;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.guarantee-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.contact-option {
    background: #141825;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-option strong {
    color: #e4e4ea;
    font-size: 0.9em;
}

.contact-option span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95em;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.cta-buttons .phideoshare-button {
    padding: 12px 25px;
    font-size: 1em;
    min-width: 180px;
}

/* Secondary buttons in legal/welcome pages context */
.phideoshare-welcome .phideoshare-button.secondary,
.cta-buttons .phideoshare-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.phideoshare-welcome .phideoshare-button.secondary:hover,
.cta-buttons .phideoshare-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Mobile Responsiveness for Anti-AI Page */
@media (max-width: 768px) {
    .importance-grid {
        grid-template-columns: 1fr;
    }
    
    .guarantees-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .phideoshare-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Mobile Responsiveness for Credits Shop */
@media (max-width: 768px) {
    .credit-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .pricing-comparison {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .credits-pricing-overview {
        padding: 20px;
    }
    
    .price {
        font-size: 2em;
    }
    
    .model-summary {
        flex-direction: column;
        align-items: center;
    }
    
    .model-item {
        width: 100%;
        max-width: 300px;
    }
    
    .transaction-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .transaction-details {
        text-align: left;
        width: 100%;
    }
    
    .current-credits {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

/* Dashboard Credits Overview */
/* Credits Section */
.credits-section {
    background: linear-gradient(135deg, #e8585d 0%, #d44449 100%);
    color: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(232, 88, 93, 0.3);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.credits-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.credits-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.credits-header h3 {
    margin: 0;
    font-size: 1.3em;
    font-weight: 600;
}

.credits-balance {
    font-size: 2.5em;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.credits-actions {
    display: flex;
    gap: 15px;
}

.credits-buy-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.credits-buy-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Dashboard Quick Actions Enhancement */
.dashboard-quick-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.dashboard-quick-actions .phideoshare-button {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

/* Mobile Responsiveness for Dashboard */
@media (max-width: 768px) {
    .credits-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .credits-balance {
        font-size: 2em;
    }
    
    .dashboard-quick-actions {
        flex-direction: column;
    }
    
    .dashboard-quick-actions .phideoshare-button {
        min-width: auto;
    }
}

/* Credit Calculator Styling */
.credit-calculator {
    background: #141825; /* Dark card background */
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(232, 88, 93, 0.2);
}

.calculator-form {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.calc-input {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 250px;
}

.calc-input label {
    font-weight: 600;
    color: #e4e4ea;
    white-space: nowrap;
}

.calc-input input {
    padding: 10px 15px;
    border: 2px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    font-size: 1em;
    width: 100px;
    background: #141825; /* Dark input background */
    transition: border-color 0.3s ease;
}

.calc-input input:focus {
    outline: none;
    border-color: #e8585d;
    box-shadow: 0 0 0 3px rgba(232, 88, 93, 0.1);
}

.calc-input select {
    padding: 10px 15px;
    border: 2px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    font-size: 1em;
    background: #141825;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.calc-input select:focus {
    outline: none;
    border-color: #e8585d;
    box-shadow: 0 0 0 3px rgba(232, 88, 93, 0.1);
}

.calc-results {
    display: flex;
    gap: 20px;
    flex: 1;
    min-width: 250px;
}

.calc-result {
    background: linear-gradient(135deg, #e8585d 0%, #d44449 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    box-shadow: 0 5px 15px rgba(232, 88, 93, 0.3);
}

.calc-result.free-download {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.calc-label {
    display: block;
    font-size: 0.9em;
    opacity: 0.9;
    margin-bottom: 5px;
}

.calc-value {
    display: block;
    font-size: 1.2em;
    font-weight: 700;
}

.calc-explanation {
    background: #0e1119; /* Dark input background */
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border-left: 4px solid #e8585d;
    border: 2px solid rgba(232, 88, 93, 0.1);
}

.calc-explanation h3 {
    margin: 0 0 15px 0;
    color: #e4e4ea;
    font-size: 1.1em;
}

.calc-explanation ul {
    margin: 0;
    padding-left: 20px;
}

.calc-explanation li {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* Mobile Responsiveness for Calculator */
@media (max-width: 768px) {
    .calculator-form {
        flex-direction: column;
        gap: 20px;
    }
    
    .calc-input {
        min-width: auto;
        width: 100%;
        justify-content: center;
    }
    
    .calc-input input {
        width: 80px;
    }
    
    .calc-results {
        min-width: auto;
        width: 100%;
    }
    
    .calc-result {
        min-width: 120px;
    }
}

/* Custom WooCommerce/* Upload form styling - Make it much wider and consistent with dashboard */
.phideoshare-container {
    max-width: 100%; /* Full width like dashboard */
    width: 100%;
    margin: 0;
    padding: 0 20px;
}

/* Ensure upload card uses full width */
.phideoshare-upload-card {
    max-width: 1400px; /* Even wider than dashboard */
    margin: 0 auto 30px auto;
    width: 100%;
}

.phideoshare-upload-card {
    background: #141825;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.phideoshare-upload-card h2 {
    color: #e4e4ea;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

/* Make upload form fields wider and better spaced */
.phideoshare-form-field {
    margin-bottom: 25px;
}

.phideoshare-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #e4e4ea;
    font-size: 16px;
}

.phideoshare-form-field input,
.phideoshare-form-field textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.phideoshare-form-field input:focus,
.phideoshare-form-field textarea:focus {
    outline: none;
    border-color: #e8585d;
    box-shadow: 0 0 0 3px rgba(232, 88, 93, 0.1);
}

/* Upload dropzone styling */
#phideoshare-dropzone {
    border: 3px dashed rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    background: #0e1119;
    transition: all 0.3s ease;
    margin: 20px 0;
}

#phideoshare-dropzone:hover {
    border-color: #e8585d;
    background: rgba(232, 88, 93, 0.1);
}

#phideoshare-dropzone p {
    margin: 15px 0 0 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

/* Mode selector styling */
.phideoshare-mode-selector {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
}

.phideoshare-mode-label {
    padding: 12px 24px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.phideoshare-mode-label.active {
    background: #e8585d;
    border-color: #e8585d;
    color: white;
}

.phideoshare-mode-label input[type="radio"] {
    display: none;
}

/* Download link box styling */
.phideoshare-link-box {
    background: #0e1119;
    border: 2px solid #28a745;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    margin: 30px 0;
}

.phideoshare-link-box p {
    font-size: 18px;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 20px;
}

.phideoshare-link-box input[type="text"] {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #28a745;
    border-radius: 12px;
    background: #141825;
    text-align: center;
    font-family: monospace;
    word-break: break-all;
    cursor: pointer;
    transition: all 0.3s ease;
}

.phideoshare-link-box input[type="text"]:hover {
    background: rgba(40, 167, 69, 0.1);
}

.phideoshare-link-box input[type="text"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

/* Success notice styling */
.phideoshare-notice.success {
    background: rgba(16, 185, 129, 0.12);
    border: 2px solid #28a745;
    color: #6ee7b7;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin: 30px 0;
}

/* Upload buttons styling */
.phideoshare-button,
.phideoshare-button-secondary {
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.phideoshare-button {
    background: #e8585d;
    color: white;
}

.phideoshare-button:hover {
    background: #d44449;
    transform: translateY(-2px);
}

.phideoshare-button-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.phideoshare-button-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* My Uploads List Styling */
.phideoshare-uploads-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.phideoshare-upload-item {
    background: #141825;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
}

.phideoshare-upload-item:hover {
    border-color: #e8585d;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.phideoshare-upload-item.expired {
    border-color: #dc3545;
    background: rgba(232, 88, 93, 0.08);
}

.upload-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.upload-header h3 {
    margin: 0;
    color: #e4e4ea;
    font-size: 20px;
    font-weight: 600;
}

.upload-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.expired-badge {
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.upload-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.upload-info {
    flex: 1;
}

.upload-info p {
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.6);
}

.upload-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.upload-actions .phideoshare-button,
.upload-actions .phideoshare-button-secondary {
    padding: 10px 20px;
    font-size: 14px;
    white-space: nowrap;
}

.upload-message {
    margin-top: 20px;
    padding: 15px;
    background: #0e1119;
    border-radius: 8px;
    border-left: 4px solid #e8585d;
}

.upload-message p {
    margin: 5px 0 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.phideoshare-no-uploads {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
}

.phideoshare-no-uploads p {
    font-size: 18px;
    margin-bottom: 25px;
}

/* Modal styling for resend */
.phideoshare-modal-hidden {
    display: none;
}

#phideoshare-resend-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#phideoshare-resend-modal {
    background: #141825;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

#phideoshare-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
}

#phideoshare-modal-close:hover {
    color: #e4e4ea;
}

#phideoshare-resend-modal h3 {
    margin: 0 0 25px 0;
    color: #e4e4ea;
}

#phideoshare-modal-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

/* Responsive design for uploads */
@media (max-width: 768px) {
    .upload-details {
        flex-direction: column;
        gap: 20px;
    }
    
    .upload-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .upload-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

.cart-header h1 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
    font-weight: 700;
}

.cart-header p {
    margin: 0;
    font-size: 1.1em;
    opacity: 0.9;
}

.cart-items {
    margin-bottom: 30px;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto auto auto auto;
    gap: 20px;
    align-items: center;
    background: rgba(20, 24, 37, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(232, 88, 93, 0.1);
    transition: all 0.3s ease;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(232, 88, 93, 0.3);
}

.item-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.item-icon {
    font-size: 2.5em;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 88, 93, 0.1);
    border-radius: 50%;
}

.item-details h3 {
    margin: 0 0 10px 0;
    color: #e4e4ea;
    font-size: 1.3em;
}

.item-details a {
    color: #e4e4ea;
    text-decoration: none;
}

.item-details a:hover {
    color: #e8585d;
}

.credits-badge, .membership-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e8585d 0%, #d44449 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    margin: 5px 5px 5px 0;
}

.membership-badge {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.item-description {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
    margin-top: 8px;
    line-height: 1.4;
}

.item-quantity {
    text-align: center;
}

.item-quantity label {
    display: block;
    font-weight: 600;
    color: #e4e4ea;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.item-quantity input {
    width: 60px;
    padding: 8px;
    border: 2px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    text-align: center;
    font-size: 1em;
    background: #141825;
}

.item-quantity input:focus {
    outline: none;
    border-color: #e8585d;
    box-shadow: 0 0 0 3px rgba(232, 88, 93, 0.1);
}

.item-price, .item-total {
    text-align: center;
}

.price-display, .total-display {
    font-size: 1.2em;
    font-weight: 700;
    color: #e4e4ea;
    margin-bottom: 5px;
}

.price-label, .total-label {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.item-remove {
    text-align: center;
}

.remove-item {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2em;
    line-height: 40px;
    transition: all 0.3s ease;
}

.remove-item:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.cart-actions {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: #141825;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cart-totals-section {
    margin-top: 40px;
}

.cart-totals {
    background: rgba(20, 24, 37, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-totals h2 {
    margin: 0 0 25px 0;
    color: #e4e4ea;
    font-size: 1.5em;
    text-align: center;
}

.totals-table {
    margin-bottom: 30px;
}

.subtotal-row, .total-row, .tax-row, .fee-row, .coupon-row, .shipping-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.total-row {
    border-bottom: none;
    border-top: 2px solid #e8585d;
    margin-top: 15px;
    padding-top: 20px;
    font-size: 1.2em;
    font-weight: 700;
}

.total-label, .total-value {
    color: #e4e4ea;
    font-size: 1.3em;
}

.checkout-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.checkout-button {
    flex: 1;
    min-width: 200px;
    font-size: 1.1em;
    padding: 15px 30px;
}

.continue-shopping {
    flex: 1;
    min-width: 200px;
}

/* Empty Cart Styling */
.cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: rgba(20, 24, 37, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cart-empty .empty-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.5;
}

.cart-empty h2 {
    color: #e4e4ea;
    margin-bottom: 15px;
}

.cart-empty p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 30px;
    font-size: 1.1em;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .item-info {
        flex-direction: column;
        text-align: center;
    }
    
    .checkout-actions {
        flex-direction: column;
    }
    
    .checkout-button, .continue-shopping {
        min-width: auto;
        width: 100%;
    }
    
    .cart-header h1 {
        font-size: 2em;
    }
}

/* Empty Cart Features */
.empty-cart-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.empty-cart-actions .phideoshare-button {
    min-width: 180px;
}

.empty-cart-features {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.07);
}

.empty-cart-features h3 {
    text-align: center;
    color: #e4e4ea;
    margin-bottom: 30px;
    font-size: 1.5em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: rgba(232, 88, 93, 0.05);
    border-radius: 15px;
    border: 2px solid rgba(232, 88, 93, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(232, 88, 93, 0.15);
    border-color: rgba(232, 88, 93, 0.3);
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.feature-item h4 {
    color: #e4e4ea;
    margin: 0 0 10px 0;
    font-size: 1.1em;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.9em;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .empty-cart-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .empty-cart-actions .phideoshare-button {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Cart Icon in Header */
.cart-icon-link {
    display: inline-block;
    margin-right: 15px;
    text-decoration: none;
    position: relative;
}

.cart-icon {
    position: relative;
    display: inline-block;
    font-size: 1.8em;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cart-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    font-weight: 700;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Header Actions Layout */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mobile Cart Icon */
@media (max-width: 768px) {
    .cart-icon {
        font-size: 1.5em;
        padding: 6px 10px;
    }
    
    .cart-count {
        width: 20px;
        height: 20px;
        font-size: 0.6em;
        top: -6px;
        right: -6px;
    }
    
    .header-actions {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* WooCommerce General Container */
.woocommerce-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #141825;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-height: 400px;
}

/* Ensure WooCommerce content is styled */
.woocommerce {
    background: #141825;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
    background: #0e1119;
    border-left: 4px solid #e8585d;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button {
    background: linear-gradient(135deg, #e8585d 0%, #d44449 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 88, 93, 0.3);
}

/* Checkout Page Styling — glassmorphism */
.phideoshare-checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(20, 24, 37, 0.55) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Override Bryze Shop Styling wrapper — make ALL child wrappers transparent */
html .phideoshare-checkout-container .woocommerce,
html .phideoshare-checkout-container > .woocommerce,
html body .phideoshare-checkout-container .woocommerce {
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    color: inherit;
}

html .woocommerce-checkout,
html form.woocommerce-checkout {
    background: transparent !important;
    padding: 30px;
    border-radius: 15px;
}

.woocommerce-checkout h2,
.woocommerce-checkout h3 {
    color: #e4e4ea;
    border-bottom: 2px solid #e8585d;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.woocommerce form .form-row {
    margin-bottom: 20px;
}

.woocommerce form .form-row label {
    color: #e4e4ea;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    font-size: 1em;
    background: rgba(14, 17, 25, 0.6);
    color: #e0e0e0;
    transition: border-color 0.3s ease;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
    outline: none;
    border-color: #e8585d;
    box-shadow: 0 0 0 3px rgba(232, 88, 93, 0.1);
}

/* Order Review Table */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: rgba(14, 17, 25, 0.5);
    border-radius: 10px;
    overflow: hidden;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.woocommerce-checkout-review-order-table th {
    background: #e8585d;
    color: white;
    font-weight: 600;
}

.woocommerce-checkout-review-order-table .order-total {
    font-weight: 700;
    font-size: 1.2em;
    background: rgba(232, 88, 93, 0.1);
}

/* Payment Methods */
.woocommerce-checkout #payment {
    background: rgba(14, 17, 25, 0.5);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.woocommerce-checkout #payment .payment_methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-checkout #payment .payment_method {
    background: rgba(20, 24, 37, 0.6);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border: 2px solid rgba(255, 255, 255, 0.07);
    transition: all 0.3s ease;
}

.woocommerce-checkout #payment .payment_method:hover {
    border-color: #e8585d;
    box-shadow: 0 2px 10px rgba(232, 88, 93, 0.1);
}

.woocommerce-checkout #payment .payment_method input[type="radio"] {
    margin-right: 10px;
}

.woocommerce-checkout #payment .payment_method label {
    font-weight: 600;
    color: #e4e4ea;
    cursor: pointer;
}

/* Place Order Button */
.woocommerce-checkout #place_order {
    width: 100%;
    font-size: 1.2em;
    padding: 15px 30px;
    margin-top: 20px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce-checkout #place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
}

/* Mobile Checkout */
@media (max-width: 768px) {
    .phideoshare-checkout-container {
        padding: 15px;
    }
    
    .woocommerce-checkout {
        padding: 20px;
    }
    
    .woocommerce-checkout-review-order-table th,
    .woocommerce-checkout-review-order-table td {
        padding: 10px;
        font-size: 0.9em;
    }
}
