/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.site-header nav {
    margin-top: 1rem;
}

.site-header nav a {
    color: white;
    text-decoration: none;
    margin-right: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.site-header nav a:hover {
    background: rgba(255,255,255,0.2);
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn:hover {
    background: #5568d3;
}

.btn-primary {
    background: #667eea;
}

.btn-primary:hover {
    background: #5568d3;
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-danger {
    background: #dc3545;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="file"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.875rem;
}

.form-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

/* Messages */
.success-message,
.error-message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-box {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

.login-box h1 {
    text-align: center;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.login-box h2 {
    text-align: center;
    color: #666;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.login-footer a {
    color: #667eea;
    text-decoration: none;
}

/* Admin Layout */
.admin-container {
    display: flex;
    min-height: 100vh;
}

.admin-nav {
    width: 250px;
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-nav h1 {
    padding: 0 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.admin-nav ul {
    list-style: none;
}

.admin-nav ul li {
    margin-bottom: 0.5rem;
}

.admin-nav ul li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.admin-nav ul li a:hover,
.admin-nav ul li a.active {
    background: #34495e;
}

.user-info {
    padding: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid #34495e;
    font-size: 0.875rem;
}

.admin-content {
    margin-left: 250px;
    padding: 2rem;
    flex: 1;
    background: #f5f5f5;
    min-height: 100vh;
}

.admin-content h2 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-card h3 {
    color: #666;
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
}

/* Section */
.section {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.section h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Tables */
.video-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.video-table thead {
    background: #f8f9fa;
}

.video-table th,
.video-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.video-table th {
    font-weight: 600;
    color: #495057;
}

.video-table td.actions {
    white-space: nowrap;
}

.video-table td.actions form {
    display: inline;
}

/* Search */
.search-section,
.search-bar {
    margin-bottom: 2rem;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    max-width: 600px;
}

.search-form input[type="text"] {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.search-results {
    color: #666;
    margin-bottom: 1rem;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.video-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.video-thumbnail {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    overflow: hidden;
}

.video-thumbnail video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-thumbnail .duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.875rem;
}

.video-thumbnail .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #667eea;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.video-info {
    padding: 1rem;
}

.video-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.video-info h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.video-info h3 a:hover {
    color: #667eea;
}

.video-description {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.video-date {
    color: #999;
    font-size: 0.875rem;
}

/* Video Player */
.video-player-container {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.video-player-container h1 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.video-player {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.video-player video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-details {
    margin-top: 1.5rem;
}

.video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1.5rem;
}

.meta-item {
    color: #666;
}

.meta-item strong {
    color: #2c3e50;
}

.video-description-full h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.video-description-full p {
    color: #666;
    line-height: 1.8;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.page-info {
    color: #666;
}

/* No Videos */
.no-videos {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.no-videos p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Upload Info */
.upload-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.upload-info h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.upload-info ul {
    list-style-position: inside;
    color: #666;
}

.upload-info ul li {
    margin-bottom: 0.5rem;
}

/* Video Info Box */
.video-info-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.video-info-box h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.video-info-box p {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Back Link */
.back-link {
    margin: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-container {
        flex-direction: column;
    }
    
    .admin-nav {
        width: 100%;
        position: relative;
        height: auto;
    }
    
    .admin-content {
        margin-left: 0;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .search-form {
        flex-direction: column;
    }

/* Model Management Styles */

/* Admin Model Grid */
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.model-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.model-photo {
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.model-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-photo {
    color: #999;
    font-size: 1rem;
}

.model-info {
    padding: 1.5rem;
}

.model-info h3 {
    margin-bottom: 0.75rem;
    color: #2c3e50;
    font-size: 1.25rem;
}

.model-bio {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.model-stats {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-secondary {
    background: #e2e3e5;
    color: #383d41;
}

.badge-external {
    background: #17a2b8;
    color: white;
}

.video-count {
    color: #666;
    font-size: 0.875rem;
}

.model-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-header h2 {
    margin: 0;
}

/* Filters Bar */
.filters-bar {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.filters-bar .search-form {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filters-bar select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    min-width: 150px;
}

/* Model Form */
.model-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 800px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.info-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.info-box h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.info-box ul {
    list-style-position: inside;
    color: #666;
}

.info-box ul li {
    margin-bottom: 0.5rem;
}

.model-stats-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.model-stats-box p {
    margin-bottom: 0.5rem;
    color: #666;
}

.current-image {
    margin-top: 0.5rem;
}

.current-image img {
    display: block;
    margin-bottom: 1rem;
}

/* Model Select */
.model-select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.model-select option {
    padding: 0.5rem;
}

.model-select option:checked {
    background: #667eea;
    color: white;
}

/* Frontend Model Profile */
.model-profile {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.model-profile-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.model-profile-photo {
    flex-shrink: 0;
}

.model-profile-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.no-photo-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.model-profile-info {
    flex: 1;
}

.model-profile-info h1 {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 2.5rem;
}

.model-bio {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.model-stats {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    border-top: 1px solid #dee2e6;
}

.stat-item {
    color: #666;
}

.stat-item strong {
    color: #667eea;
    font-size: 1.5rem;
    display: block;
}

.model-videos-section {
    margin-top: 2rem;
}

.model-videos-section h2 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

/* Video Page Model Section */
.video-models {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

.video-models h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.model-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.model-card-link {
    text-decoration: none;
}

.model-card-small {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 50px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.model-card-small:hover {
    background: #667eea;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.model-card-small img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.model-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
}

.model-card-small .model-name {
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
}

.model-card-small:hover .model-name {
    color: white;
}

/* Responsive Model Styles */
@media (max-width: 768px) {
    .model-grid {
        grid-template-columns: 1fr;
    }
    
    .model-profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .model-profile-photo img,
    .no-photo-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .model-profile-info h1 {
        font-size: 2rem;
    }
    
    .model-stats {
        justify-content: center;
    }
    
    .page-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .filters-bar .search-form {
        flex-direction: column;
    }
    
    .filters-bar select {
        width: 100%;
    }
}
}

/* Paysite Management Styles */

/* Admin Paysite Grid */
.paysite-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 1.5rem;
margin-bottom: 2rem;
}

.paysite-card {
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
transition: transform 0.3s, box-shadow 0.3s;
}

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

.paysite-logo {
width: 100%;
height: 120px;
background: #f0f0f0;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
padding: 1rem;
}

.paysite-logo img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}

.no-logo {
color: #999;
font-size: 1rem;
}

.paysite-info {
padding: 1.5rem;
}

.paysite-info h3 {
margin-bottom: 0.75rem;
color: #2c3e50;
font-size: 1.25rem;
}

.paysite-description {
color: #666;
font-size: 0.875rem;
margin-bottom: 1rem;
line-height: 1.6;
}

.paysite-url {
margin-bottom: 1rem;
}

.paysite-url a {
color: #667eea;
text-decoration: none;
font-size: 0.875rem;
}

.paysite-url a:hover {
text-decoration: underline;
}

.paysite-stats {
display: flex;
gap: 1rem;
align-items: center;
margin-bottom: 1rem;
}

.paysite-actions {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}

/* Paysite Form */
.paysite-form {
background: white;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
max-width: 800px;
}

.paysite-stats-box {
background: #f8f9fa;
padding: 1.5rem;
border-radius: 10px;
margin-bottom: 2rem;
}

.paysite-stats-box p {
margin-bottom: 0.5rem;
color: #666;
}

/* Frontend Paysite Profile */
.paysite-profile {
background: white;
border-radius: 10px;
padding: 2rem;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
margin-bottom: 2rem;
}

.paysite-profile-header {
display: flex;
gap: 2rem;
align-items: flex-start;
}

.paysite-profile-logo {
flex-shrink: 0;
}

.paysite-profile-logo img {
max-width: 250px;
max-height: 120px;
object-fit: contain;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
border-radius: 8px;
padding: 1rem;
background: white;
}

.no-logo-placeholder {
width: 200px;
height: 100px;
border-radius: 8px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 3rem;
font-weight: bold;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.paysite-profile-info {
flex: 1;
}

.paysite-profile-info h1 {
margin-bottom: 1rem;
color: #2c3e50;
font-size: 2.5rem;
}

.paysite-description {
color: #666;
line-height: 1.8;
margin-bottom: 1.5rem;
}

.paysite-website {
margin-bottom: 1.5rem;
}

.paysite-stats {
display: flex;
gap: 2rem;
padding: 1rem 0;
border-top: 1px solid #dee2e6;
}

.paysite-videos-section {
margin-top: 2rem;
}

.paysite-videos-section h2 {
margin-bottom: 1.5rem;
color: #2c3e50;
}

/* Video Page Paysite Section */
.video-paysite {
margin-top: 2rem;
padding: 1.5rem;
background: #f8f9fa;
border-radius: 8px;
border-top: 1px solid #dee2e6;
}

.video-paysite h3 {
margin-bottom: 1rem;
color: #2c3e50;
}

.paysite-link {
display: flex;
align-items: center;
gap: 1rem;
text-decoration: none;
color: inherit;
padding: 1rem;
background: white;
border-radius: 8px;
transition: all 0.3s;
margin-bottom: 1rem;
}

.paysite-link:hover {
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.paysite-link .paysite-logo {
max-width: 120px;
max-height: 60px;
object-fit: contain;
background: transparent;
padding: 0;
}

.paysite-name {
font-weight: 600;
color: #2c3e50;
font-size: 1.1rem;
}

.paysite-link:hover .paysite-name {
color: #667eea;
}

.paysite-website {
display: inline-block;
color: #667eea;
text-decoration: none;
font-weight: 500;
}

.paysite-website:hover {
text-decoration: underline;
}

/* External Video Styles */
.external-video-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.embed-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: #000;
}

.embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.external-source-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
}

.external-source-link {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.external-source-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.external-source-link a:hover {
    text-decoration: underline;
}

/* Responsive Paysite Styles */
@media (max-width: 768px) {
.paysite-grid {
    grid-template-columns: 1fr;
}

.paysite-profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.paysite-profile-logo img {
    max-width: 200px;
}

.paysite-profile-info h1 {
    font-size: 2rem;
}

.paysite-stats {
    justify-content: center;
}

.paysite-link {
    flex-direction: column;
    text-align: center;
}
}
