/* Base styles */
.citegen-citation-wrapper {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.citegen-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.citegen-style {
    display: flex;
    align-items: center;
}

.citegen-style label {
    margin-right: 10px;
}

.citegen-style-select {
    margin-right: 10px;
}

.citegen-copy-button {
    padding: 5px 5px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.citegen-citation {
    font-size: 0.9em;
    color: #333;
    line-height: 1.5;
}

.citegen-citation a {
    color: inherit;
    text-decoration: none;
}

.citegen-citation a:hover {
    text-decoration: underline;
}

/* Default preset (WordPress standard style) */
.citegen-preset-default {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.citegen-preset-default .citegen-citation {
    background: #fff;
    border: 1px solid #ccc;
    padding: 12px;
    border-radius: 4px;
}

.citegen-preset-default .citegen-copy-button {
    background-color: #0073aa;
}

.citegen-preset-default .citegen-copy-button:hover {
    background-color: #005177;
}

/* Minimal preset */
.citegen-preset-minimal {
    background: transparent;
    border: none;
    border-top: 2px solid #e0e0e0;
    border-radius: 0;
    padding: 15px 0;
}

.citegen-preset-minimal .citegen-citation {
    background: transparent;
    border: none;
    padding: 10px 0;
    font-size: 0.85em;
    color: #666;
}

.citegen-preset-minimal .citegen-copy-button {
    background-color: #333;
    border-radius: 3px;
    padding: 6px 12px;
    font-size: 0.85em;
}

.citegen-preset-minimal .citegen-copy-button:hover {
    background-color: #000;
}

.citegen-preset-minimal .citegen-style label {
    font-size: 0.9em;
    color: #666;
}

/* Academic preset */
.citegen-preset-academic {
    background: #f8f6f0;
    border: 2px double #8b7355;
    border-radius: 0;
    padding: 25px;
    font-family: 'Georgia', 'Garamond', 'Times New Roman', serif;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.citegen-preset-academic .citegen-citation {
    background: #fffef8;
    border-left: 4px solid #8b7355;
    border-right: none;
    border-top: 1px solid #d4c4a8;
    border-bottom: 1px solid #d4c4a8;
    padding: 18px 20px;
    border-radius: 0;
    font-size: 1em;
    line-height: 2;
    color: #3a3a3a;
    font-family: 'Georgia', 'Garamond', 'Times New Roman', serif;
    text-indent: 0;
    margin-left: 2em;
}

.citegen-preset-academic .citegen-copy-button {
    background-color: #8b7355;
    border: 1px solid #6d5940;
    border-radius: 0;
    padding: 8px 18px;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 0.9em;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.citegen-preset-academic .citegen-copy-button:hover {
    background-color: #6d5940;
    border-color: #5a4830;
}

.citegen-preset-academic .citegen-style label {
    font-size: 0.95em;
    color: #5a4830;
    font-weight: normal;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
}

.citegen-preset-academic .citegen-style-select {
    font-family: 'Georgia', 'Times New Roman', serif;
    border: 1px solid #8b7355;
    padding: 4px 8px;
    background: #fffef8;
    color: #3a3a3a;
}

/* Modern preset */
.citegen-preset-modern {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.citegen-preset-modern .citegen-citation {
    background: linear-gradient(to right, #f9fafb 0%, #ffffff 100%);
    border: 1px solid #e5e7eb;
    border-left: 3px solid #3b82f6;
    padding: 16px 18px;
    border-radius: 6px;
    font-size: 0.92em;
    color: #374151;
    line-height: 1.7;
}

.citegen-preset-modern .citegen-copy-button {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.9em;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
    transition: all 0.2s ease;
}

.citegen-preset-modern .citegen-copy-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.citegen-preset-modern .citegen-style label {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.9em;
}

.citegen-preset-modern .citegen-style-select {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 6px 10px;
    color: #374151;
    font-size: 0.9em;
    transition: all 0.2s ease;
}

.citegen-preset-modern .citegen-style-select:hover {
    border-color: #3b82f6;
}

.citegen-preset-modern .citegen-style-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Responsive design */
@media (max-width: 400px) {
    .citegen-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .citegen-style {
        margin-bottom: 10px;
    }
}