/* Global Resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f4f9;
    color: #333;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: #3498db;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn-primary:hover { background-color: #2980b9; }

/* Main Layout */
.container {
    display: flex;
    flex: 1;
    overflow: hidden; 
}

/* Editor Panel */
.editor-panel {
    width: 40%;
    background: white;
    padding: 2rem;
    overflow-y: auto;
    border-right: 1px solid #ddd;
}

.editor-panel h2 { margin-bottom: 1.5rem; color: #2c3e50; }

.form-section { margin-bottom: 2rem; }
.form-section h3 { margin-bottom: 10px; color: #34495e; border-bottom: 2px solid #ecf0f1; padding-bottom: 5px; }

/* Special Highlight Section for Theme */
.highlight-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}

/* Theme Picker Buttons */
.theme-picker {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 5px;
}
.theme-btn {
    width: 30px;
    height: 30px;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}
.theme-btn:hover { transform: scale(1.1); }
#customColor { width: 40px; height: 35px; border: none; background: none; cursor: pointer;}

/* Inputs */
input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
}

input:focus, textarea:focus {
    border-color: #3498db;
    outline: none;
}

/* Dynamic Entry Styles */
.dynamic-entry {
    background: #fff;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    position: relative;
}
.btn-secondary {
    background-color: #95a5a6;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}
.btn-secondary:hover { background-color: #7f8c8d; }

.btn-remove {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 0.8rem;
    cursor: pointer;
    float: right;
    margin-top: -5px;
}
.btn-remove:hover { text-decoration: underline; }