/* Base Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
}

header .logo a {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}

/* Forms */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    min-height: 100px;
}

button, .button {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
}

button:hover, .button:hover {
    background-color: #3367d6;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.col {
    flex: 1;
    padding: 0 10px;
    min-width: 200px;
}

/* Alerts */
.alert {
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.alert.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* Influencer Cards */
.influencer-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.influencer-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.influencer-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.influencer-details {
    padding: 15px;
}

.influencer-details h3 {
    margin-top: 0;
}

.categories {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

.bio {
    font-size: 14px;
    color: #555;
    margin: 10px 0;
}

.stats {
    margin: 15px 0;
}

.stat {
    margin-bottom: 8px;
    font-size: 14px;
}

.stat .label {
    font-weight: bold;
    margin-right: 5px;
}

.stat .value {
    margin-right: 15px;
}

.checkbox {
    display: block;
    margin: 5px 0;
}

.checkbox input {
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }
    
    .col {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 5px 0;
    }
}
/* Auth Forms */
.auth-form {
    max-width: 500px;
    margin: 30px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.auth-form h2 {
    margin-top: 0;
    text-align: center;
    color: #333;
}

.form-links {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.form-links a {
    color: #4285f4;
    text-decoration: none;
}

.form-links span {
    margin: 0 10px;
    color: #ddd;
}

.alert {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.alert.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* Dashboard Styles */
.dashboard-header {
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.stats-summary {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    text-align: center;
}

.stat-card h3 {
    margin-top: 0;
    font-size: 16px;
}

.stat-card p {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0 0;
}

.dashboard-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.platform-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.platform-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.platform-icon {
    margin-right: 15px;
}

.platform-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.platform-info h4 {
    margin: 0 0 5px;
}

.platform-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.collab-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.collab-table th, .collab-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.collab-table th {
    background: #f8f9fa;
}

.quick-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.action-button {
    display: inline-block;
    padding: 12px 20px;
    background: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    flex: 1;
    text-align: center;
    transition: background 0.3s;
}

.action-button:hover {
    background: #3367d6;
}

/* Profile Styles */
.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 30px;
    border: 5px solid #f8f9fa;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info h1 {
    margin: 0 0 10px;
}

.categories {
    color: #666;
    margin-bottom: 10px;
}

.location {
    color: #666;
    margin-bottom: 15px;
}

.edit-button {
    display: inline-block;
    padding: 8px 15px;
    background: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.profile-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.profile-section {
    margin-bottom: 30px;
}

.profile-section h2 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.social-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.social-account {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.social-icon {
    margin-right: 15px;
}

.social-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.social-details h3 {
    margin: 0 0 5px;
    font-size: 16px;
}

.social-details p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.pricing-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.pricing-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
}

.pricing-card p {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: #4285f4;
}

/* Analytics Styles */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.analytics-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.demographics {
    margin-top: 15px;
}

.demographic-item {
    margin-bottom: 20px;
}

.demographic-item h4 {
    margin: 0 0 10px;
    font-size: 16px;
}

.demographic-item p {
    margin: 0;
    color: #666;
}

.gender-chart {
    width: 100%;
    max-width: 200px;
    margin: 15px auto;
}

.chart-container {
    width: 100%;
    height: 250px;
    margin-top: 15px;
}

/* Messages Styles */
.messages-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.compose-button {
    display: inline-block;
    padding: 10px 15px;
    background: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.empty-messages {
    text-align: center;
    padding: 50px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.conversation-list {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.conversation {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.conversation.unread {
    background: #f8f9fa;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.conversation-header h3 {
    margin: 0;
    font-size: 16px;
}

.message-time {
    color: #666;
    font-size: 14px;
}

.message-excerpt {
    color: #666;
    margin: 5px 0 0;
}

.view-message {
    display: inline-block;
    margin-top: 10px;
    color: #4285f4;
    text-decoration: none;
    font-size: 14px;
}

/* User Dashboard Styles */
.dashboard-header {
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.stats-summary {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    text-align: center;
}

.stat-card h3 {
    margin-top: 0;
    font-size: 16px;
}

.stat-card p {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0 0;
}

.search-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.search-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.search-list li a {
    color: #4285f4;
    text-decoration: none;
}

.search-count {
    color: #666;
    font-size: 14px;
}

.influencer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.influencer-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.influencer-image {
    height: 150px;
    overflow: hidden;
}

.influencer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.influencer-details {
    padding: 15px;
}

.influencer-details h4 {
    margin: 0 0 5px;
}

.influencer-details .categories {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.view-button {
    display: inline-block;
    padding: 8px 15px;
    background: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

/* View Influencer Styles */
.influencer-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: center;
}

.influencer-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 5px solid #f8f9fa;
}

.influencer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.influencer-info h1 {
    margin: 0 0 5px;
}

.username {
    color: #666;
    margin: 0 0 10px;
}

.categories {
    color: #666;
    margin: 10px 0;
    font-size: 14px;
}

.location {
    color: #666;
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.save-button {
    padding: 8px 15px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.save-button.saved {
    background: #34a853;
    color: white;
    border-color: #34a853;
}

.message-button {
    padding: 8px 15px;
    background: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.influencer-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.influencer-section {
    margin-bottom: 30px;
}

.influencer-section h2 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.social-media-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.social-platform {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.platform-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.platform-details h3 {
    margin: 0 0 5px;
    font-size: 16px;
}

.handle, .followers, .engagement {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.pricing-table {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-type {
    font-weight: bold;
}

.pricing-rate {
    color: #4285f4;
}

.contact-options {
    display: flex;
    gap: 10px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    background: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

/* Saved Influencers Styles */
.saved-header {
    margin-bottom: 30px;
}

.saved-header p {
    color: #666;
}

.empty-saved {
    text-align: center;
    padding: 50px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.saved-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.saved-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.saved-image {
    height: 150px;
    overflow: hidden;
}

.saved-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.saved-details {
    padding: 15px;
}

.saved-details h3 {
    margin: 0 0 5px;
}

.saved-details .categories {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.saved-details .bio {
    color: #666;
    margin: 10px 0;
    font-size: 14px;
}

.saved-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.unsave-form {
    margin: 0;
}

.unsave-button {
    padding: 8px 15px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

/* Messages Styles */
.messages-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.new-message-button {
    padding: 10px 15px;
    background: #4285f4;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.compose-message {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.send-button {
    padding: 10px 20px;
    background: #4285f4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.cancel-button {
    padding: 10px 20px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

.conversation-list {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.conversation {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.conversation.incoming {
    background: #f8f9fa;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.conversation-header h3 {
    margin: 0;
    font-size: 16px;
}

.message-time {
    color: #666;
    font-size: 14px;
}

.conversation-subject {
    margin-bottom: 5px;
}

.conversation-preview {
    color: #666;
    margin: 5px 0 0;
}

.view-message {
    display: inline-block;
    margin-top: 10px;
    color: #4285f4;
    text-decoration: none;
    font-size: 14px;
}

.empty-messages {
    text-align: center;
    padding: 50px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Footer Styles */
footer {
    background-color: #2d3748;
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3, .footer-section h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-section p {
    color: #cbd5e0;
    margin: 5px 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    color: white;
    font-size: 20px;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 20px;
    text-align: center;
    color: #cbd5e0;
    font-size: 14px;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    gap: 5px;
}

.pagination a {
    padding: 8px 12px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

.pagination a.active {
    background: #4285f4;
    color: white;
}

.pagination a:hover:not(.active) {
    background: #e2e6ea;
}