/* General Styles */
body {
    background-color: black;
    color: white;
    font-family: 'Helvetica', sans-serif;
}

/* Background and foreground styles moved to portraitDefaults.css */

/* Import portrait defaults */
@import url('./portraitDefaults.css');

/* Preview Styles */
.preview-container {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    margin-bottom: 20px;
    margin-left: 20px;
    align-items: flex-end;
}

.preview {
    display: inline-flex;
    gap: 20px;
    align-items: flex-end;
}

.kilo-flyers-template-preview {
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: black;
}

/* Removed outline styling for previews */

/* Preview sizes moved to previewSizes.css */

/* Portrait styles moved to portraitDefaults.css */

/* Updates Section */
.updates-section {
    margin: 40px auto;
    width: 100%;
    max-width: 800px;
    text-align: left;
    font-size: 16px;
    padding: 10px;
    max-height: 20px;
    box-sizing: border-box;
}

/* Button Styles */
.button-section {
    display: flex;
    margin: 20px auto;
    padding: 10px;
    margin: 0px auto;
    width: 100%;
    align-items: center;
    box-sizing: border-box;
    max-width: 800px;
}

.button-section-center {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.button-section-page2 {
    position: relative;
    display: none;
}

/* Form Styles */
.form {
    width: 100%;
    max-width: 800px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    margin: 0 auto;
}

.form-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    margin: 0 10px;
}

#textInput {
    flex-grow: 1;
    padding: 0 10px;
    background-color: black;
    border: 1px solid white;
    color: white;
    font-size: 16px;
    border-radius: 50px;
    min-height: 30px;
}

#attachmentButton {
    cursor: pointer;
}

/* Carousel styles */
.carousel-prev,
.carousel-next {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0 10px;
    transition: opacity 0.3s;
}

.carousel-prev:hover,
.carousel-next:hover {
    opacity: 0.7;
}

.carousel-indicator {
    text-align: center;
    color: white;
    font-size: 12px;
    margin-top: 5px;
}

/* Shared button style */
.shared-button-style {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s ease;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.shared-button-style:hover {
    background-color: black;
}

.shared-button-style:active {
    background-color: white;
    color: black;
}

.text-button-style {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    cursor: pointer;
    border-radius: 50px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding-left: 20px;
    padding-right: 20px;
}

/* Preview styles moved to previewSizes.css */

/* Common section styling */
.portrait-carousel-section, .move-buttons-section, .resize-rotate-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 5px;
}

.portrait-carousel-label, .section-label {
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.portrait-carousel-controls, .move-buttons, .control-buttons {
    display: flex;
    gap: 10px;
}

/* Move button styling */
.move-button {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 1px solid white;
    border-radius: 50%;
    background: transparent;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.move-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Control buttons styling - now using the same style as move buttons */
.control-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.control-button {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 1px solid white;
    border-radius: 50%;
    background: transparent;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.control-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.size-down, .size-up {
    font-weight: bold;
}

.rotate-left, .rotate-right {
    font-size: 14px;
}

/* Slider and text container */
.slider-text-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
    width: 100%;
}

/* Slider controls */
.slider-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Temperature and contrast controls */
.temperature-controls, .contrast-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.temperature-controls label, .contrast-controls label {
    color: white;
    font-size: 12px;
    min-width: 40px;
}

/* Slider styling */
.temperature-slider, .contrast-slider {
    flex: 1;
    height: 2px;
    -webkit-appearance: none;
    appearance: none;
    appearance: none;
    background: white;
    outline: none;
    opacity: 0.7;
    border-radius: 1px;
}

.temperature-slider::-webkit-slider-thumb,
.contrast-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: white;
    cursor: pointer;
    border-radius: 50%;
}

.temperature-slider::-moz-range-thumb,
.contrast-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: white;
    cursor: pointer;
    border-radius: 50%;
    border: none;
}

/* Banner preview styles moved to previewSizes.css */

/* Update the preview buttons container to maintain proper spacing */
.preview-buttons {
    margin-top: 20px;
}

/* Search Styles */
.search-form {
    display: flex;
    gap: 10px;
    margin: 20px auto;
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
    padding: 20px;
}

#textInput {
    flex: 1;
    padding: 10px 20px;
    background-color: black;
    border: 1px solid white;
    color: white;
    font-size: 16px;
    border-radius: 50px;
    min-height: 40px;
}

#textInput::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-form button {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    cursor: pointer;
    border-radius: 50px;
    padding: 0 30px;
    font-size: 16px;
    min-height: 40px;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background-color: white;
    color: black;
}

.search-input {
    flex: 1;
    padding: 10px;
    background-color: black;
    border: 1px solid white;
    color: white;
    font-size: 16px;
    border-radius: 50px;
    min-height: 30px;
}

.search-button {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    cursor: pointer;
    border-radius: 50px;
    padding: 0 10px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}