/* Plugin: Image Converter All-in-one */
.ttb-image-converter-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    font-family: 'Segoe UI', sans-serif;
}

.ttb-image-converter-wrapper h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    text-align: center;
}

.ttb-drop-area {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background: #f9f9f9;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
}

.ttb-drop-area:hover {
    background: #f0f0f0;
    border-color: #999;
}

.ttb-drop-area p {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

#ttb-file-list {
    margin-top: 20px;
    padding-left: 0;
    list-style: none;
    font-size: 0.95rem;
    color: #333;
}

#ttb-file-list li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

.ttb-image-converter-controls {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.ttb-image-converter-controls label {
    font-weight: 600;
    margin-right: 8px;
}

#ttb-output-format {
    padding: 6px 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
}

#ttb-convert-btn {
    background: #007cba;
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

#ttb-convert-btn:hover {
    background: #005fa3;
}

.ttb-warning {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #b30000;
    text-align: center;
}

/* Responsive Tweaks */
@media (max-width: 600px) {
    .ttb-image-converter-controls {
        flex-direction: column;
        align-items: stretch;
    }

    #ttb-convert-btn {
        width: 100%;
    }
}

.ttb-remove-file {
  background: none !important;
  border: none;
  color: red;
  font-size: 16px;
  cursor: pointer;
  margin-left: 10px;
}

#ttb-status {
  align-items: center;
  gap: 10px;
  font-weight: bold;
  padding: 10px;
}

.ttb-spinner {
  width: 18px;
  height: 18px;
  border: 3px solid #ccc;
  border-top-color: #555;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}