/* General Body & Fonts */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    font-size: 16px;
}

.main-container {
    display: flex;
    height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    width: 250px;
    background-color: #1e1e1e;
    border-right: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #333;
}

.sidebar-header h1 {
    font-family: 'Orbitron', sans-serif;
    color: #00aaff;
    font-size: 1.5em;
    margin: 0;
    text-shadow: 0 0 8px rgba(0, 170, 255, 0.7);
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    margin-top: 10px;
    border-radius: 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8em;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-premium {
    background: rgba(0, 255, 0, 0.2);
    border: 1px solid #00ff00;
    color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.badge-free {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff3333;
    color: #ff3333;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.sidebar ul {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.sidebar ul li a {
    display: block;
    padding: 15px 20px;
    color: #ccc;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    border-left: 3px solid transparent;
}

.sidebar ul li a:hover {
    background-color: #2a2a2a;
    color: #fff;
}

.sidebar ul li.active a {
    background-color: #2c3e50;
    color: #00aaff;
    border-left: 3px solid #00aaff;
}

/* Main Content Area */
.content {
    flex-grow: 1;
    padding: 30px;
    overflow-y: auto;
}

h2 {
    font-family: 'Orbitron', sans-serif;
    color: #00aaff;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-top: 0;
}

/* Form Elements */
.form-section {
    background-color: #1e1e1e;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #333;
}

.form-section h3 {
    margin-top: 0;
    color: #ccc;
    font-weight: 700;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    color: #aaa;
}

input[type="text"],
input[type="number"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    background-color: #2c2c2c;
    border: 1px solid #444;
    color: #e0e0e0;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.options-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px 0;
}

.options-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
}

/* Buttons */
button {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: #00aaff;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.5);
}

.btn-primary:hover {
    background-color: #0088cc;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.8);
}

.btn-secondary {
    background-color: #3a3a3a;
    color: #e0e0e0;
    border: 1px solid #555;
}

.btn-secondary:hover {
    background-color: #4a4a4a;
}

/* Template Preview */
.template-preview {
    border: 1px solid #444;
    border-radius: 5px;
    height: 400px;
    width: 100%;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    background-color: #2c2c2c;
    border-radius: 5px;
    margin-bottom: 15px;
    position: relative;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-color: #00aaff;
    border-radius: 5px;
    transition: width 0.4s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.progress-text {
    z-index: 1;
    color: #fff;
    font-weight: bold;
}

/* Log Styles */
.log-entry {
    padding: 2px 10px;
    border-left: 3px solid transparent;
}

.log-info {
    color: #00aaff;
    border-left-color: #00aaff;
}

.log-success {
    color: #00ff00;
    border-left-color: #00ff00;
}

.log-error {
    color: #ff4444;
    border-left-color: #ff4444;
}

.log-warn {
    color: #ffaa00;
    border-left-color: #ffaa00;
}

.btn-danger {
    background-color: #c0392b;
    color: #fff;
}

.btn-danger:hover {
    background-color: #e74c3c;
}