/* Custom CSS for Local Ad Rocket */

:root {
    --primary-color: #b8a269;
    --primary-dark: #9a8555;
    --primary-light: #d4c298;
    --dark-bg: #1a1a1a;
    --black-bg: #000;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --text-white: #ffffff;
    --text-gray: #999;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    background-color: var(--gray-900);
    color: var(--text-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Custom palette color */
.u-palette-1-base {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.u-btn.u-palette-1-base:hover {
    background-color: #9a8757 !important;
}

/* Header adjustments */
.u-header {
    padding: 15px 0;
}

.u-logo h2 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

/* Section spacing */
.u-section {
    padding: 44px 0;
}

.u-section-hero {
    background-position: center -105px;
    background-size: cover;
    background-attachment: scroll;
}

/* Form styling */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select,
textarea {
    font-family: inherit;
    font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
}

/* Button styling */
.u-btn {
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.u-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 162, 105, 0.4);
}

/* Card styling */
.u-container-style {
    transition: transform 0.3s ease;
}

.u-container-style:hover {
    transform: translateY(-5px);
}

/* Message styling */
#message {
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

/* Responsive navigation */
@media (max-width: 768px) {
    .u-nav {
        flex-direction: column;
    }

    .u-section-hero h1 {
        font-size: 2rem !important;
    }

    .u-section-hero p {
        font-size: 1.1rem !important;
    }
}

/* Loading spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9a8757;
}

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
}

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

table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background-color: #FFC107;
    color: #000;
}

.status-completed {
    background-color: #4CAF50;
    color: white;
}

.status-cancelled {
    background-color: #f44336;
    color: white;
}

/* Footer */
.u-footer {
    margin-top: 60px;
}
