:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --accent-color: #9b59b6;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #3498db, #2ecc71, #9b59b6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigation */
.dashboard-nav {
    background: var(--gradient);
    color: white;
    padding: 1rem 0;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.dashboard-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Forms */
.form-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    max-width: 500px;
    margin: 2rem auto;
}

.form-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-primary {
    background: var(--primary-color);
}

.btn-secondary {
    background: var(--secondary-color);
}

.btn-accent {
    background: var(--accent-color);
}

.btn:hover {
    opacity: 0.9;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.2);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.alert-error {
    background-color: rgba(231, 76, 60, 0.2);
    border: 1px solid var(--error-color);
    color: var(--error-color);
}

/* Profile View */
.profile-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: 1rem;
}

.profile-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.profile-bio {
    color: #666;
    margin-bottom: 2rem;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-item {
    display: block;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark-color);
    text-align: center;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--box-shadow);
}

.link-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Dashboard Panels */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-panel {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.panel-title {
    font-size: 1.25rem;
    color: var(--primary-color);
}

/* Link Management */
.links-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.links-table th, .links-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.links-table th {
    background-color: #f8f9fa;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    color: #666;
    font-size: 0.875rem;
}
.site-footer {
    padding: 1.5rem 0;
    background-color: #f8f9fa;
    border-top: 1px solid #eaeaea;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.footer-company {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-link {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}

.profile-link:hover {
    background-color: var(--secondary-color);
}

.company-link {
    color: #555;
    text-decoration: none;
    font-weight: 500;
}

.company-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.separator {
    color: #ccc;
}

.footer-bottom {
    border-top: 1px solid #eaeaea;
    padding-top: 1rem;
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-company {
        flex-direction: column;
    }
    
    .separator {
        display: none;
    }
}
/* Add these theme styles to your existing CSS file */

/* Theme Classes */
.theme-default {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --accent-color: #9b59b6;
    --background-color: #f8f9fa;
    --text-color: #2c3e50;
    --link-bg-color: #ffffff;
    --link-hover-color: #f0f0f0;
}

.theme-dark {
    --primary-color: #5865F2;
    --secondary-color: #57F287;
    --accent-color: #EB459E;
    --background-color: #23272A;
    --text-color: #ffffff;
    --link-bg-color: #2C2F33;
    --link-hover-color: #36393F;
}

.theme-light {
    --primary-color: #4E6E81;
    --secondary-color: #FF9B9B;
    --accent-color: #FF6B6B;
    --background-color: #F7F7F7;
    --text-color: #333333;
    --link-bg-color: #ffffff;
    --link-hover-color: #F2F2F2;
}

.theme-purple {
    --primary-color: #8E44AD;
    --secondary-color: #9B59B6;
    --accent-color: #5B3256;
    --background-color: #F3E5F5;
    --text-color: #4A235A;
    --link-bg-color: #ffffff;
    --link-hover-color: #E1BEE7;
}

.theme-green {
    --primary-color: #27AE60;
    --secondary-color: #2ECC71;
    --accent-color: #1E8449;
    --background-color: #E8F5E9;
    --text-color: #1B5E20;
    --link-bg-color: #ffffff;
    --link-hover-color: #C8E6C9;
}

/* Profile View Theme Styles */
.profile-view {
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
}

.profile-view .profile-title {
    color: var(--primary-color);
}

.profile-view .link-item {
    background-color: var(--link-bg-color);
    color: var(--text-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.profile-view .link-item:hover {
    background-color: var(--link-hover-color);
}

.profile-view .profile-footer {
    color: var(--text-color);
    opacity: 0.7;
}

.profile-view .footer-link {
    color: var(--primary-color);
    text-decoration: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.close-modal:hover {
    color: #333;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    text-align: center;
    background: var(--gradient);
    color: white;
    border-radius: 8px;
    margin: 2rem 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Features Section */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* File Upload Button */
.image-upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.profile-image-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.file-upload-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.file-upload-btn:hover {
    background: var(--secondary-color);
}

input[type="file"] {
    display: none;
}

/* URL Display and Copy */
.url-copy-group {
    display: flex;
    margin-bottom: 1rem;
}

.url-copy-group input {
    flex: 1;
    border-radius: 4px 0 0 4px;
}

.url-copy-group button {
    border-radius: 0 4px 4px 0;
}

/* Order Buttons */
.order-buttons {
    display: flex;
    gap: 0.25rem;
}

.order-btn {
    padding: 0.25rem 0.5rem;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.order-btn:hover {
    background: #e0e0e0;
}

/* Error Container */
.error-container {
    text-align: center;
    padding: 4rem 1rem;
}

.error-container h1 {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.error-container h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.error-container p {
    margin-bottom: 2rem;
    color: #666;
}

/* Footer Links */
.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: #666;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
}
/* Link Icons and Contact Form Additions */
.link-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 4px;
    overflow: hidden;
}

.link-icon img {
    max-width: 100%;
    max-height: 100%;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark-color);
    text-align: left;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--box-shadow);
}

.link-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Contact Button and Form */
.contact-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    margin: 1.5rem 0;
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.contact-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.contact-form-container {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    gap: 0.5rem;
}

.form-row label {
    font-weight: 500;
    color: var(--dark-color);
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-row textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    margin-top: 1rem;
}

.contact-form-success {
    background-color: rgba(46, 204, 113, 0.2);
    border: 1px solid var(--success-color);
    color: var(--success-color);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form-error {
    background-color: rgba(231, 76, 60, 0.2);
    border: 1px solid var(--error-color);
    color: var(--error-color);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}