.note {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 12px;
}

input[type="file"] {
    margin-bottom: 20px;
}

.preview-wrapper {
    text-align: center;
    margin: 0 auto;
    margin-top: 1rem;
}

.preview-img {
    max-width: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.preview-img:hover {
    transform: scale(1.02);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.file-label {
    display: inline-block;
    background: #fdb4eb;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 1%;
}

.file-label:hover {
    background: #e689c5;
}

.download-button {
    display: inline-block;
    background: #fdb4eb;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.download-button:hover {
    background: #e689c5;
}

.frame-color-selector {
    margin: 10px 0 20px;
    font-size: 0.95em;
}

.frame-color-selector label {
    margin-right: 12px;
    color: #f06292;
    font-weight: 600;
}

#formatSelect {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border: 2px solid #fdb4eb;
    border-radius: 6px;
    padding: 8px 40px 8px 12px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    outline: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23fdb4eb' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#formatSelect:hover {
    border-color: #e689c5;
}

#formatSelect:focus {
    border-color: #f06292;
    box-shadow: 0 0 6px rgba(253, 180, 235, 0.6);
}
