/* ===================================
   CLIENT PORTAL STYLES
   Shared styles for all PHP portal pages
   =================================== */

/* ===================================
   LOGIN PAGE SPECIFIC STYLES
   =================================== */

/* Body styling ONLY for login pages with .login-page class */
body.login-page {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
}

/* Reset ONLY for login pages */
.login-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.order-info-panel{
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:12px;
  padding:18px;
  margin:20px auto;
  max-width:1100px;
  box-shadow:0 4px 18px rgba(0,0,0,0.04);
}
.order-info-panel h2{
  margin:0 0 10px 0;
  font-size:1.25rem;
}
.order-info-panel ul{
  margin:0;
  padding-left:18px;
}
.order-info-panel li{
  margin:6px 0;
}

.client-downloads{
  max-width:1100px;
  margin:20px auto;
  padding:0 20px; /* mobile breathing room */
}

.client-downloads-inner{
  background:#f5f5f5;
  border:1px solid #e0e0e0;
  border-radius:16px;
  padding:22px;
  text-align:center;
}

.client-downloads h2{
  margin-top:0;
}

.download-buttons{
  margin-top:12px;
}

.download-button{
  display:inline-block;
  padding:12px 18px;
  border-radius:10px;
  background:#2c2c2c;
  color:#fff;
  text-decoration:none;
  font-weight:600;
}

.download-button,
.download-button:visited,
.download-button:hover,
.download-button:active,
.download-button:focus{
  display:inline-block;
  padding:12px 18px;
  border-radius:10px;
  background:#2c2c2c;
  color:#ffffff;
  text-decoration:none;
  font-weight:600;
}


.download-button:hover{
  background:#000;
}

/* ===================================
   LOGIN CONTAINER STYLES
   =================================== */

/* Login Container */
.login-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-container input[type="email"], 
input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.login-container input[type="email"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: #667eea;
}

/* Login Logo */
.login-container .logo,
.logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-container .logo h1,
.logo h1 {
    color: #333 !important;
    font-size: 24px;
    margin-bottom: 10px;
}

.login-container .logo p,
.logo p {
    color: #666;
    font-size: 14px;
}

/* ===================================
   LOGIN FORM STYLES
   =================================== */

/* Login Form Groups */
.login-container .form-group,
.form-group {
    margin-bottom: 20px;
}

.login-container label,
label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.login-container input[type="text"], 
.login-container input[type="password"],
input[type="text"], 
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.login-container input[type="text"]:focus, 
.login-container input[type="password"]:focus,
input[type="text"]:focus, 
input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
}

.login-container .btn,
.btn {
    width: 100%;
    padding: 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.login-container .btn:hover,
.btn:hover {
    background: #5a6fd8;
}

/* ===================================
   LOGIN MESSAGES
   =================================== */

.login-container .error,
.error {
    background: #ffe6e6;
    color: #d00;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #d00;
}

.login-container .success,
.success {
    background: #e6ffe6;
    color: #080;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #080;
}

.login-container .help-text,
.help-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.login-container .help-text a,
.help-text a {
    color: #667eea;
    text-decoration: none;
}

/* ===================================
   BACK TO MAIN WEBSITE BUTTON
   =================================== */

.login-container .back-to-main-btn,
.back-to-main-btn,
.home-button,
.main-website-btn,
a[href="/"],
a[href="../"],
a[href="index.php"],
a[href="/"]:not(.navbar a) {
    display: inline-block !important;
    background: #667eea !important; /* Same blue as login button */
    background-color: #667eea !important;
    color: white !important;
    padding: 12px 20px !important;
    border: none !important;
    border-radius: 5px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: background 0.3s ease !important;
    font-weight: 500 !important;
    margin-top: 20px !important;
    text-align: center !important;
    width: auto !important;
}

.login-container .back-to-main-btn:hover,
.back-to-main-btn:hover,
.home-button:hover,
.main-website-btn:hover,
a[href="/"]:hover:not(.navbar a),
a[href="../"]:hover,
a[href="index.php"]:hover {
    background: #5a6fd8 !important; /* Same hover color as login button */
    background-color: #5a6fd8 !important;
    color: white !important;
    text-decoration: none !important;
}

.login-container .back-to-main-btn:visited,
.back-to-main-btn:visited,
.home-button:visited,
.main-website-btn:visited {
    color: white !important;
    background: #667eea !important;
    text-decoration: none !important;
}

/* Override any green button styles that might be applied */
.btn-success,
.btn-green,
button[style*="green"],
a[style*="green"],
*[style*="background-color: green"],
*[style*="background: green"] {
    background: #667eea !important;
    background-color: #667eea !important;
    color: white !important;
}

.btn-success:hover,
.btn-green:hover {
    background: #5a6fd8 !important;
    background-color: #5a6fd8 !important;
    color: white !important;
}

/* ===================================
   LOGIN MOBILE STYLES
   =================================== */

@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
    }
}

/* ===================================
   CLIENT PORTAL SHARED STYLES
   =================================== */

/* Client Header */
.client-header {
    background: #1e1e2e;
    color: white;
    padding: 0 30px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    margin-bottom: 0;
    position: sticky;
    top: 0;
    z-index: 200;
}

.client-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.client-header-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.client-header-link {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.client-header-link:hover {
    color: #fff;
    text-decoration: none;
}

/* Logout Button - kept for backwards compat but now unused */
.logout-btn {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s;
}

.logout-btn:hover {
    color: white;
    text-decoration: none;
}

/* ===================================
   CLIENT PORTAL LIST STYLES
   =================================== */

/* Gallery Items with Portfolio Links */
.client-gallery-item a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-gallery-item a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-decoration: none;
}

.client-gallery-item a::after {
    content: "?? View Progress Gallery";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px 10px 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-size: 14px;
    text-align: center;
}

.client-gallery-item a:hover::after {
    transform: translateY(0);
}

/* Coming Soon Styling */
.client-gallery-item.coming-soon {
    position: relative;
    opacity: 0.7;
}

.client-gallery-item.coming-soon::after {
    content: "?? Gallery Coming Soon";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}


/* ===================================
   GALLERY PORTAL STYLES
   =================================== */

/* Gallery Container */
.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 60px 20px; /* Added 60px bottom padding to clear the black box */
}

/* Specific class for client portal h1 to override global styles */
.client-portal-heading {
    color: #333 !important;
    margin-bottom: 15px !important;
    font-size: 2rem !important;
    font-weight: normal !important;
    text-align: center !important;
    padding-top: 0 !important;
    padding-bottom: 15px !important;
    border-bottom: none !important;
    line-height: 1.2 !important;
    display: block !important;
    font-family: inherit !important;
}

/* Alternative - more specific selector */
.gallery-container .header .client-portal-heading {
    color: #333 !important;
    margin-bottom: 15px !important;
    font-size: 2rem !important;
    font-weight: normal !important;
    text-align: center !important;
    padding: 0 !important;
    border: none !important;
    line-height: 1.2 !important;
}

/* Gallery Header */
.gallery-container .header {
    text-align: center;
    margin-bottom: 30px;
}

.gallery-container .header h1 {
    color: #333!important;
    margin-bottom: 15px;
}

.gallery-container .header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Gallery Info */
.gallery-info {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.gallery-info p {
    margin-bottom: 10px;
}

.gallery-info p:last-child {
    margin-bottom: 0;
}

/* Refresh Note */
.refresh-note {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    color: #1565c0;
}

.refresh-note small {
    margin-top: 5px;
    display: block;
    opacity: 0.8;
}

/* Gallery Stats */
.gallery-stats {
    background: #f1f3f4;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Photo Cards - MADE TALLER */
.photo-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.photo-card img {
    width: 100%;
    height: 280px; /* Increased from 200px to 280px - makes boxes taller */
    object-fit: cover;
    display: block;
}

.photo-info {
    padding: 15px;
}

.photo-date {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 5px;
}

.photo-filename {
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

/* Video Cards */
.video-card {
    border: 2px solid #667eea;
}

.video-card .photo-filename {
    color: #667eea;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 40px;
    font-size: 1.1rem;
    color: #666;
}

/* No Images State */
.no-images {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-images h3 {
    margin-bottom: 15px;
    color: #333;
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 60px 20px;
    color: #d32f2f;
}

.error-message h3 {
    margin-bottom: 15px;
}

/* ===================================
   LIGHTBOX STYLES
   =================================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img,
.lightbox iframe {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.lightbox iframe {
    width: 80vw;
    height: 60vh;
}

/* Lightbox Zoom */
.lightbox img.zoomed {
    cursor: grab;
    transform-origin: center;
    transition: transform 0.3s ease;
}

.lightbox img.zoomed:active {
    cursor: grabbing;
}

/* Lightbox Controls */
.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    font-size: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    transition: background 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
}

/* ===================================
   CLIENT PORTAL SECTION (from main styles)
   =================================== */

.client-portal-section {
  width: 100%;
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.client-portal-container {
  max-width: 800px;
  margin: 0 auto;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

.client-portal-title {
  font-size: 2.2rem;
  margin-bottom: 25px;
  font-weight: bold;
  font-family: 'Georgia', serif;
}

.client-portal-container p {
  margin-bottom: 20px;
}

.client-portal-container p strong {
  font-weight: 700;
  display: block;
  margin-top: 10px;
}

/* ===================================
   CLIENT PORTAL PAGE CSS (from main styles)
   =================================== */

.pet-banner {
    background: linear-gradient(135deg, #6b4423 0%, #8b5a3c 50%, #a0845c 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pet-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.pet-name {
    font-size: 3.5rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

.pet-icon {
    font-size: 2rem;
    margin: 0 1rem;
    opacity: 0.8;
}

.subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 1rem;
}

.welcome-message {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.main-content {
    padding: 0;
    background: white;
    margin-bottom: 20px;
}

.gallery-header {
    background: white;
    padding: 2rem;
    text-align: center;
    border-bottom: 3px solid #d4af7a;
}

.gallery-title {
    font-size: 2rem;
    color: #6b4423;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.gallery-description {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.drive-container {
    background: white;
    padding: 0;
}

.drive-frame {
    width: 100%;
    height: 50vh;
    border: none;
    background: white;
}

.security-notice {
    background: #667eea;
    border: 2px solid #d4edda;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem;
    text-align: center;
}

.security-notice i {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.security-text {
    color: #155724;
    font-size: 0.95rem;
}

.fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 15;
    background: #323232;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
}

.fullscreen-btn:hover {
    background: #323232;
}

.gallery-actions {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.gallery-link-btn {
    display: inline-block;
    background: #323232;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.gallery-link-btn:visited {
    background: #323232; 
    color: white;
    text-decoration: none;
}

.gallery-link-btn:hover {
    background: #323232;
    color: white;
    text-decoration: none;
}

.contact-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.paw-decoration {
    display: inline-block;
    animation: gentle-bounce 2s ease-in-out infinite;
}

@keyframes gentle-bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Loading animation for iframe */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #6b4423;
    z-index: 10;
}

.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #6b4423;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-right: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* General Client Styling */
.client-text-section {
    text-align: center;
    padding: 10px 20px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.client-text-section h1, .client-text-section h2 {
    font-size: 2rem;
    color: #2b2b2b!important;
    margin-bottom: 10px;
}

.client-text-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

/* ===================================
   UPDATE THIS SECTION IN YOUR client-portal-styles.css
   Find the "Gallery Layout" section and replace with this:
   =================================== */

/* Gallery Layout - Smaller Grid */
section.client-gallery-container {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; /* 4 columns on desktop */
    gap: 15px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Gallery Item - Smaller Cards */
.client-gallery-item {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Smaller Images */
.client-gallery-item img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Crops images to fit nicely */
    display: block;
    border-radius: 10px;
    margin: 15px 0;
    padding: 0;
}

/* Title Styling - Smaller */
.client-gallery-item h3 {
    display: inline-block;
    border-bottom: 3px solid #333;
    padding-bottom: 5px;
    font-size: 1rem; /* Slightly smaller */
}

/* Description Text - Smaller */
.client-gallery-item figcaption {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
}

/* Filter Buttons Section */
.commission-filters {
    text-align: center;
    padding: 30px 20px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.filter-btn {
    display: inline-block;
    background: #333;
    color: white;
    padding: 12px 30px;
    margin: 0 10px 10px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.filter-btn:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.filter-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Responsive - Tablets */
@media (max-width: 1024px) {
    section.client-gallery-container {
        grid-template-columns: repeat(3, 1fr) !important; /* 3 columns on tablet */
    }
}

/* Responsive - Small Tablets */
@media (max-width: 768px) {
    section.client-gallery-container {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 columns on mobile */
        gap: 12px;
        padding: 30px 15px;
    }
    
    .client-gallery-item {
        padding: 12px;
    }
    
    .client-gallery-item img {
        height: 180px; /* Slightly smaller on mobile */
    }
    
    .filter-btn {
        padding: 10px 25px;
        font-size: 1rem;
        margin: 0 5px 10px;
    }
}

/* Responsive - Very Small Mobile */
@media (max-width: 480px) {
    .client-gallery-item img {
        height: 160px;
    }
    
    .client-gallery-item h3 {
        font-size: 0.9rem;
    }
    
    .filter-btn {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 10px auto;
    }
}

/* ===================================
   LOGOUT PAGE STYLES
   =================================== */

/* Logout Page Body */
.logout-page body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Logout Container */
.logout-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

/* Logout Logo */
.logout-container .logo {
    margin-bottom: 30px;
}

.logout-container .logo h1 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}

.logout-container .logo p {
    color: #666;
    font-size: 14px;
}

/* Success Message */
.logout-container .success-message {
    background: #e6ffe6;
    color: #155724;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #667eea;
}

.logout-container .success-message h2 {
    margin-bottom: 10px;
    font-size: 20px;
}

/* Button Group */
.logout-container .button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

/* Logout Buttons */
.logout-container .btn {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 500;
}

.logout-container .btn-primary {
    background: #667eea;
    color: white;
}

.logout-container .btn-primary:hover {
    background: #5a6fd8;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.logout-container .btn-success {
    background: #667eea;
    color: white;
}

.logout-container .btn-success:hover {
    background: #5a6fd8;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Contact Info */
.logout-container .contact-info {
    font-size: 14px;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.logout-container .contact-info a {
    color: #667eea;
    text-decoration: none;
}

.logout-container .contact-info a:hover {
    text-decoration: underline;
}

/* Logout Mobile Styles */
@media (max-width: 480px) {
    .logout-container {
        padding: 30px 20px;
    }
    
    .logout-container .button-group {
        flex-direction: column;
    }
}

@media (min-width: 481px) {
    .logout-container .button-group {
        flex-direction: row;
        justify-content: center;
    }
    
    .logout-container .btn {
        flex: 1;
        max-width: 200px;
    }
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */

/* Tablet */
@media (max-width: 768px) {
    .client-header {
        padding: 10px 16px;
        height: auto;
        min-height: 56px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .client-header h2 {
        font-size: 1rem;
    }

    .client-header-links {
        gap: 14px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .lightbox-nav {
        display: none;
    }
    
    .lightbox iframe {
        width: 95vw;
        height: 50vh;
    }

    /* Client Gallery Responsive */
    .client-gallery-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .client-text-section {
        padding: 60px 15px 30px;
    }

    /* Pet Banner Responsive */
    .pet-name {
        font-size: 2.5rem;
    }
    
    .pet-banner {
        padding: 2rem 1rem;
    }
    
    .gallery-header {
        padding: 1.5rem 1rem;
    }
    
    .gallery-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .drive-frame {
        height: 70vh;
        min-height: 500px;
    }
    
    .security-notice {
        margin: 1rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .gallery-container {
        padding: 15px 15px 60px 15px; /* Keep bottom padding on mobile too */
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-info,
    .refresh-note {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .photo-card img {
        height: 220px; /* Slightly smaller on mobile but still taller than original */
    }
    
    .lightbox-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .lightbox-close {
        top: -30px;
        font-size: 24px;
        width: 35px;
        height: 35px;
    }
    
    .lightbox-counter {
        bottom: -30px;
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}