/* background-remover/css/styles.css */


.image-wrapper .download-button {
    color: #fff;
}

.bg-remover-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.bg-remover-container h1 {
    text-align: center;
    margin-bottom: 20px;
}

.bg-remover-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.bg-remover-container p {
    font-size: 1rem;
    color: #666;
    margin: 5px 0;
}

.bg-remover-container form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bg-remover-container input[type="file"] {
    padding: 10px;
}

.bg-remover-container button {
    padding: 10px;
    background-color: #46757e;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.bg-remover-container button:hover {
    background-color: #93d9d7;
}

#bg-remover-result {
    margin-top: 20px;
    text-align: center;
}

#bg-remover-result img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #0073aa;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* インラインメッセージのスタイル */
#bg-remover-message {
    max-width: 1000px; /* 最大幅を拡張 */
    margin: 20px auto;
    padding: 10px;
    border-radius: 5px;
    font-size: 1rem;
    display: none;
}

#bg-remover-progress-container {
    width: 100%;
    background-color: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

#bg-remover-progress {
    height: 10px;
    width: 0%;
    background-color: #0073AA;
    transition: width 0.3s;
}

#bg-remover-download {
    background-color: #6495ED;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: .9rem;
    cursor: pointer;
    border-radius: 5px;
    margin: 10px 0;
    display: inline-block;
    text-decoration: none
}

#bg-remover-download:hover {
    background-color: #567FCC
}