/* File: styles.css */
/* Version: 1.5.18 */
/* Last updated: May 24, 2025, 01:27 AM BST */
/* Description: Shared stylesheet for the bambiblacks website, updated with tom.php button styles */

/* Existing styles from v1.5.16 */
body {
    font-family: 'Arial', sans-serif;
    background-color: #1a1a1a;
    color: #fff;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.container {
    background-color: #2a2a2a;
    max-width: 600px;
    margin: 1rem auto;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

h1, .pricing-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #f0f0f0;
}

p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #d0d0d0;
}

a.terms-link {
    color: #fff;
    text-decoration: none;
}

a.terms-link:hover {
    color: #ccc;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 0;
    font-size: 1.5625rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, box-shadow .2s;
    animation: pulse 2s infinite;
    transform: scale(1);
    background-color: #4CAF50;
    border: none;
}

.enter-btn {
    background-color: #FF69B4;
}

.enter-btn:hover {
    background-color: #E65FA2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.enter-btn:active {
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.exit-btn {
    background-color: #dc3545;
}

.exit-btn:hover {
    background-color: #c82333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.exit-btn:active {
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.btn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
    50% { box-shadow: 0 6px 14px rgba(0,0,0,0.5); }
    100% { box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
}

@keyframes shadow-pulse {
    0% { box-shadow: 0 0 0 0px rgba(255,105,180,0.4); }
    100% { box-shadow: 0 0 7px 25px rgba(255,105,180,0); }
}

.pulse-btn {
    animation: shadow-pulse 1.5s infinite !important;
}

.g-navbar {
    position: sticky;
    top: 0;
    background-color: #1a1a1a;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    box-sizing: border-box;
}

.logo img {
    max-width: 150px;
    height: auto;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.language-picker__wrapper {
    position: relative;
}

.language-picker__inner {
    display: flex;
    align-items: center;
}

.language-picker__btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.language-picker__btn-text {
    margin-right: 5px;
}

.language-picker__list-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #333;
    border: 1px solid #444;
    z-index: 1001;
}

.language-picker__btn:hover+.language-picker__list-wrapper, .language-picker__list-wrapper:hover {
    display: block;
}

.language-picker__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.language-picker__item-option {
    display: block;
    padding: 5px 10px;
    color: #fff;
    text-decoration: none;
}

.language-picker__item-option:hover {
    background: #444;
}

.btn-outline {
    padding: 5px 10px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    box-sizing: border-box;
}

.btn-outline_signin {
    background: 0 0;
    display: flex;
    align-items: center;
    border-color: #FF69B4;
}

.btn-outline_join {
    background: #FF69B4;
    border-color: #FF69B4;
}

.btn-outline_join:hover {
    background: #E65FA2;
    color: #fff;
}

.welcome-text {
    font-size: 1rem;
    color: #d0d0d0;
    margin: 20px auto;
    padding: 0 10px;
    text-align: center;
    width: 100%;
    max-width: 1800px;
    box-sizing: border-box;
}

main {
    width: 100%;
    box-sizing: border-box;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1800px;
    margin: 20px auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.image-grid img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 8px;
    transition: box-shadow .2s;
}

.image-grid img:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px;
    font-size: .875rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-left {
    margin-left: 10px;
}

.footer-right img {
    width: 150px;
    height: auto;
}

.footer-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a {
    color: #4da8da;
    font-size: .875rem;
    text-decoration: none;
    transition: color .2s;
}

.footer-links a:hover {
    color: #80d4ff;
}

.footer-links span {
    color: #4da8da;
}

.footer-link-img {
    height: 20px;
    vertical-align: middle;
}

.disclaimer {
    font-size: .5rem;
    max-width: 100%;
    margin: 10px auto 20px;
    color: #d3d3d3;
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pricing-section {
    margin: 20px auto;
    max-width: 1200px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 10px;
}

.pricing-card {
    background-color: #2a2a2a;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    position: relative;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #f0f0f0;
}

.original-price {
    font-size: 1.2rem;
    color: #d0d0d0;
    text-decoration: line-through;
    margin-bottom: .5rem;
}

.current-price {
    font-size: 2rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.current-price .dollar {
    font-size: 1.5rem;
    vertical-align: super;
}

.current-price .cents {
    font-size: 1.5rem;
    vertical-align: sub;
}

.card-message {
    font-size: 1rem;
    color: #d0d0d0;
    margin-bottom: 1rem;
}

.badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff9900;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: .9rem;
    font-weight: 700;
}

.features-section {
    margin: 20px auto;
    max-width: 800px;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    font-size: 1rem;
    color: #d0d0d0;
    margin-bottom: .5rem;
}

.debug-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-color: #333;
    color: #fff;
    padding: 1rem;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    border-left: 1px solid #444;
}

.debug-panel h3 {
    margin: 0 0 .5rem;
    font-size: 1rem;
}

.debug-panel pre {
    text-align: left;
    background-color: #222;
    padding: .5rem;
    border-radius: 4px;
    overflow-x: auto;
}

#debug-toggle {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 1001;
    padding: 5px 10px;
    background-color: #28a745;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

@media (max-width: 1200px) {
    .image-grid, .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .g-navbar {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    .navbar-right {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .btn-outline_signin, .btn-outline_join {
        width: 100%;
        text-align: center;
    }
    .logo img {
        max-width: 100%;
        padding: 0 10px;
    }
    .welcome-text {
        font-size: 22px;
    }
    .image-grid {
        grid-template-columns: 1fr;
    }
    .image-grid img {
        width: 100%;
        height: auto;
        max-width: 600px;
    }
}

@media (max-width: 600px) {
    .navbar-right {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        width: 100%;
        gap: 5px;
        padding: 0;
    }
    .language-picker__wrapper {
        flex: 0 0 auto;
    }
    .btn-outline_signin, .btn-outline_join {
        flex: 1;
        min-width: 0;
        width: auto;
        margin: 0;
        text-align: center;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .footer {
        flex-direction: column;
        gap: 10px;
        padding: 20px 10px;
    }
    .footer-left, .footer-right {
        margin: 0;
        width: 100%;
    }
    .footer-links {
        flex-wrap: wrap;
        font-size: .75rem;
    }
}

.language-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    color: #FF69B4;
}

.signin-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

/* Styles migrated from tom.php */
.admin-section {
    margin: 20px;
    padding: 20px;
    background-color: #2a2a2a;
    border-radius: 8px;
}

.tabs {
    display: flex;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #333;
    border-radius: 4px 4px 0 0;
    margin-right: 5px;
}

.tab.active {
    background-color: #4CAF50;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
    padding: 20px;
}

.grid-item {
    border: 1px solid #444;
    padding: 5px;
    background-color: #333;
    border-radius: 4px;
    text-align: center;
    position: relative;
}

.grid-item img {
    width: 300px;
    height: 300px;
    border-radius: 4px;
}

.grid-item p {
    margin: 5px 0;
    font-size: 0.8em;
    color: #ccc;
}

.edit-filename {
    cursor: pointer;
    color: #4CAF50;
}

.context-menu {
    position: absolute;
    background-color: #333;
    border: 1px solid #444;
    border-radius: 4px;
    z-index: 1000;
    display: none;
}

.context-menu-item {
    padding: 8px 12px;
    cursor: pointer;
}

.context-menu-item:hover {
    background-color: #555;
}

.upload-section {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cropper-container {
    width: 100%;
    height: 400px;
}

.file-upload-label {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    border-radius: 0;
    font-size: 1.5625rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s, box-shadow .2s;
    transform: scale(1);
}

.file-upload-label:hover {
    background-color: #45a049;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

#image-upload {
    display: none;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 0;
    font-size: 1.5625rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s, box-shadow .2s;
    animation: pulse 2s infinite;
    transform: scale(1);
}

button:hover {
    background-color: #45a049;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.recent-activity-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 3fr 1fr;
    gap: 10px;
    padding: 10px;
    background-color: #333;
    border-radius: 4px;
}

.recent-activity-grid div {
    padding: 5px;
    border-bottom: 1px solid #444;
}

.recent-activity-grid .header {
    font-weight: bold;
    border-bottom: 2px solid #555;
}

@media (max-width: 600px) {
    .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    .recent-activity-grid {
        grid-template-columns: 1fr;
    }
}

.header-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.header-row h2, .header-row p {
    margin: 0;
}

.override-section {
    margin-top: 20px;
    font-size: 1.2em;
}

.override-section input[type="checkbox"] {
    transform: scale(1.5);
    margin-right: 10px;
}

.debug-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-color: #333;
    color: #fff;
    padding: 1rem;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    border-left: 1px solid #444;
}

#debug-toggle {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 1001;
    padding: 5px 10px;
    background-color: #28a745;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.error-message {
    color: #ff5555;
    font-size: 1rem;
    margin-bottom: 1rem;
}