.voice-clone-form {
    margin-bottom: 2em;
}

.form-group {
    margin-bottom: 1.5em;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.form-col {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group input[type="checkbox"] {
    margin-right: 8px;
}

.form-group input[type="range"] {
    width: 100%;
    margin-right: 10px;
}

/* Dropzone Styles */
.dropzone {
    border: 2px dashed #ddd;
    border-radius: 5px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    background-color: #fafafa;
    cursor: pointer;
    position: relative;
}

.dropzone.active {
    border-color: #0073aa;
    background-color: #f0f7ff;
}

.dropzone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dropzone-icon {
    margin-bottom: 10px;
    font-size: 2em;
    color: #0073aa;
}

.dropzone-icon .dashicons {
    width: 40px;
    height: 40px;
    font-size: 40px;
}

.dropzone-text {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #444;
}

.dropzone-or {
    display: block;
    margin: 8px 0;
    color: #888;
}

.dropzone-browse {
    color: #0073aa;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}

.dropzone-browse:hover {
    color: #005177;
}

.dropzone-info {
    font-size: 0.9em;
    color: #888;
}

.selected-file {
    margin-top: 10px;
    padding: 10px 12px;
    background: #f0f7ff;
    border-radius: 4px;
    display: none;
    font-size: 14px;
    color: #333;
    border: 1px solid #c8d7e1;
    position: relative;
    word-break: break-all;
}

.selected-file.has-file {
    display: block;
}

.accuracy-value {
    font-weight: bold;
}

.submit-button {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.submit-button:hover {
    background: #005177;
}

.voice-clone-result {
    text-align: center;
    padding: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.voice-clone-loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 1em auto;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: voice-clone-spin 2s linear infinite;
}

.voice-clone-timer {
    font-size: 14px;
    color: #555;
    margin: 1em auto;
    font-family: monospace;
    padding: 5px 10px;
    background-color: #f8f8f8;
    border-radius: 3px;
    display: inline-block;
}

.voice-clone-back-button {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    margin-top: 15px;
    display: inline-block;
}

.voice-clone-back-button:hover {
    background: #005177;
}

@keyframes voice-clone-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.voice-clone-upload-progress {
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    margin-top: 10px;
    overflow: hidden;
}

.voice-clone-progress-bar {
    height: 100%;
    background: #0073aa;
    width: 0;
    transition: width 0.3s ease;
}

.voice-clones-table {
    margin-top: 2em;
}

.voice-clones-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}

.voice-clones-table th,
.voice-clones-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.voice-clones-table th {
    background-color: #f8f8f8;
    font-weight: 600;
}

.voice-clones-table tr:nth-child(even) {
    background-color: #f8f8f8;
}

/* Admin Styles */
.voice-clones-admin-table {
    margin-top: 2em;
}

.voice-clones-admin-table table {
    width: 100%;
    border-collapse: collapse;
}

/* Responsive styles */
@media (max-width: 600px) {
    .voice-clone-container {
        padding: 15px;
    }
    
    .voice-clones-table th,
    .voice-clones-table td {
        padding: 8px;
        font-size: 0.9em;
    }
}

/* Debug Logs Styles */
.voice-clone-logs {
    margin-top: 20px;
    padding: 15px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 300px;
    overflow-y: auto;
}

.voice-clone-logs h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1em;
    font-weight: 600;
}

.logs-container {
    font-family: monospace;
    font-size: 12px;
    line-height: 1.5;
}

.log-entry {
    margin-bottom: 5px;
    word-wrap: break-word;
}

.log-time {
    color: #666;
    margin-right: 5px;
}

.consent-group {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
}

.consent-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
}

.consent-label a {
    color: #0073aa;
    text-decoration: underline;
}

.consent-label a:hover {
    color: #005177;
}

.credits-warning {
    background-color: #fff8e5;
    border-left: 4px solid #ffc107;
    padding: 10px 15px;
    margin: 15px 0;
    color: #856404;
    font-weight: 500;
    display: none;
}

.submit-button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.disabled-button-message {
    color: #d32f2f;
    font-size: 0.9em;
    margin-top: 8px;
    font-style: italic;
} 