/* Styles for Fraims Web App v.0.6.0, The Red Eye Design, Ira Salsberg */
/* Main page layout  */
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
}

.container {
    display: flex;
    width: 90%;
    flex-direction: row; /* Ensures sidebars are in a row with main content */
    min-height: 100vh; /* Make sure container stretches to full viewport height */
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    
}

.sidebar {
    width: 20%;
    padding: 20px;
    box-sizing: border-box;
}

.sidebar.left {
    background-color: #f9f9f9;
}

.sidebar.right {
    background-color: #f9f9f9;
}

.main-content {
       width: 60%;
    display: flex;
    justify-content: center;
    align-items: top;
    position: relative;
    flex-wrap: wrap;
}

.image-container {
    position: relative;
}

.image-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
}

.image-controls button {
    margin: 5px 0;
}

.slider-container {
    margin-bottom: 20px;
}

.dial-container {
    margin-top: 20px;
    text-align: center;
}

button {
    background-color: #ff6f61;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px 0;
}

button:hover {
    background-color: #ff3f31;
}


/* Color Swatches */
 .color-swatch {
            display: inline-block;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin-right: 15px;
            cursor: pointer;
        }

/* Debug Modals */
#popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background: #fff;
    border: 1px solid #000;
    z-index: 1000;
}
#popup-overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Photo Area */
.photo-area {
    width: 100%;
    display: flex;
    justify-content: center;
}


.photo-frame {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    border: 2px dashed #cccccc;
    position: relative;
    overflow: hidden;
    background-color: #e0e0e0;
}


.image-container {
    width: 100%; /* Full width of the middle column */
    padding-top: 56.25%; /* 16:9 aspect ratio (9 / 16 * 100) */
    position: relative; /* To position the image inside */
    overflow: hidden; /* Hide any overflow */
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the container while maintaining aspect ratio */
}
