body {
    margin: 0;
    padding: 0;
    background-color: #000;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #333;
}

.container {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.form-container, .art-container {
    height: 600px;
    flex: 1;
    display: flex;
    overflow: auto;
    max-width: 50%;
}

.form-container {
    background-color: #1a1a1a;
    padding: 3rem;
    border-radius: 12px 0 0 12px;
    color: #fff;
    flex-direction: column;
}

.image-upload-page {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.upload-guidelines {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.upload-guidelines ul {
    list-style-type: none;
    padding-left: 0;
}

.upload-guidelines li {
    margin-bottom: 8px;
    color: #555;
}

.creative-guidelines {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.ad-sizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.ad-size-upload {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ad-size-upload h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.upload-btn {
    display: inline-block;
    text-decoration: none;
    padding: 8px 16px;
    background: #0275d8;
    color: white;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.upload-btn:hover {
    background: #025aa5;
}


.art-container {
    display: flex;
    height: 630px;
    background-color: #fff;
    border-radius: 0 12px 12px 0;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.logo-image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.form-step {
    max-width: 500px;
    margin: 0 auto;
}

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

label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: #fff;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: all 0.2s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #007bff;
    background-color: rgba(255, 255, 255, 0.1);
}

button {
    background-color: #007bff;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.error-message {
    background-color: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.budget-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.budget-card {
    position: relative;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
}

.budget-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.budget-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.budget-card input[type="radio"]:checked + .card-content {
    color: #007bff;
}

.budget-card input[type="radio"]:checked + .card-content .price {
    transform: scale(1.1);
}

.budget-card:has(input[type="radio"]:checked) {
    border-color: #007bff;
    background: rgba(0, 123, 255, 0.1);
}

.card-content {
    transition: all 0.2s ease;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition: transform 0.2s ease;
}

.period {
    font-size: 0.875rem;
    opacity: 0.8;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-overlay.active {
    display: flex;
}

#custom-budget {
    margin-top: 1rem;
}

.summary-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.summary-content h3 {
    color: #007bff;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.success-step {
    text-align: center;
    padding: 2rem;
}

/* Dashboard styles */
.dashboard {
    min-height: 100vh;
    background: #f5f5f5;
}

.dashboard-nav {
    background: white;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-left {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 40px;
    width: auto;
}

.nav-tabs {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.tab {
    color: #666;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.tab:hover {
    color: #333;
    background: #f5f5f5;
}

.tab.active {
    color: #007bff;
    font-weight: 500;
}

.tab.logout {
    margin-left: auto;
    color: #ff4444;
}

.dashboard-content {
    padding: 2rem;
}

.tab-content {
    display: none;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tab-content.active {
    display: block;
}

.campaigns-list {
    padding: 20px;
}

.campaigns-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.create-btn {
    background: #28a745;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.create-btn:hover {
    background: #218838;
}

.campaign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.campaign-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.campaign-card h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.campaign-details {
    margin: 15px 0;
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9em;
}

.campaign-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.campaign-actions button {
    flex: 1;
    padding: 8px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.edit-btn {
    background: #007bff;
    color: white;
}

.pause-btn {
    background: #6c757d;
    color: white;
}

.details-btn {
    background: #0275d8;
    color: white;
    text-decoration: none;
    padding: 8px;
    border-radius: 4px;
    text-align: center;
}

.resume-btn {
    background: #28a745;
    color: white;
}

.delete-btn {
    background: #dc3545;
    color: white;
}

.success-step h2 {
    color: #28a745;
    margin-bottom: 1rem;
}

.location-map {
    display: none;
    width: 100%;
    height: 100%;
    border-radius: 0 12px 12px 0;
}

h2 {
    margin-bottom: 2rem;
    font-weight: 600;
    color: #fff;
}

.campaign-details-page {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    color: #333;
}

.edit-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.edit-form .form-group {
    margin-bottom: 20px;
}

.edit-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.edit-form input,
.edit-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    color: #333;
}

.edit-form textarea {
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.save-btn {
    background: #28a745;
}

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

.user-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.reports-container {
    padding: 20px;
}

.upload-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
}

.image-upload-modal {
    max-width: 900px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.uploaded-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin: 10px 0;
}

.upload-hint {
    display: block;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.ad-size-upload input[type="file"] {
    margin: 10px 0;
}

.image-upload-guidelines {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.image-upload-guidelines ul {
    margin: 10px 0;
    padding-left: 20px;
}

.ad-sizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.ad-size-upload {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.ad-size-upload h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.metrics-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.metric-card h3 {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 0.9em;
}

.metric-card p {
    margin: 0;
    font-size: 1.8em;
    font-weight: 600;
    color: #007bff;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.users-table th,
.users-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.users-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.users-table tr:hover {
    background-color: #f5f5f5;
}

.view-campaigns-btn {
    padding: 6px 12px;
    font-size: 0.9em;
    background-color: #28a745;
}

.view-campaigns-btn:hover {
    background-color: #218838;
}

.role-badge {
    display: inline-block;
    padding: 4px 8px;
    margin: 2px;
    border-radius: 4px;
    background: #007bff;
    color: white;
    font-size: 0.9em;
}

.role-badge {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.role-badge {
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #333;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.modal-content .form-group {
    margin-bottom: 1rem;
}

.modal-content label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.modal-content input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
    background: white;
}