/* Photo Frame Editor Styles - Fixed Canvas Display */

body {
    background-color: #f8fafc;
    font-family: var(--font-main);
    color: #1e293b;
}

.editor-wrapper {
    padding: 30px 0 50px 0;
}

.editor-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 30px -10px rgba(19, 61, 127, 0.08);
    border-radius: 14px;
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.editor-sidebar {
    background: #fdfdfe;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.editor-preview-container {
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
    position: relative;
    overflow: hidden;
    padding: 15px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

#newspaperCanvas {
    width: 100%;
    height: 100%;
    max-width: 750px;
    max-height: 480px;
    object-fit: contain;
    box-shadow: 0 15px 30px rgba(19, 61, 127, 0.15);
    background: #ffffff;
    border-radius: 8px;
    display: block;
}

.control-item {
    margin-bottom: 12px;
}

.control-item label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #133d7f;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-control, .form-select {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 0.85rem;
    font-family: var(--font-main);
    background-color: #ffffff;
    color: #0f172a;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #e87314;
    box-shadow: 0 0 0 4px rgba(232, 115, 20, 0.15);
}

.editor-actions .btn {
    padding: 8px 14px;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-newspaper {
    background-color: #e87314;
    border-color: #e87314;
    color: #fff;
    box-shadow: 0 4px 12px rgba(232, 115, 20, 0.3);
}

.btn-newspaper:hover {
    background-color: #d0620f;
    border-color: #d0620f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(232, 115, 20, 0.4);
}
