/* 
 * Image Text Copy - Styles
 * UV light blue header & buttons, light grey background, black text
 * Fully responsive
 */

.itc-container {
    width: 100%;
    max-width: 1200px; /* optional max-width for very large screens */
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.itc-header {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.itc-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 500;
    color: #000;
}

.itc-body {
    padding: 30px 20px;
}

/* Upload area */
.itc-upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s;
    background-color: #fff;
    margin-bottom: 20px;
    position: relative;
}

.itc-upload-area:hover {
    border-color: #B0E0FF;
}

.itc-upload-area i {
    font-size: 48px;
    color: #666;
    margin-bottom: 10px;
}

.itc-upload-area p {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.itc-preview {
    margin-top: 20px;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.itc-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Progress indicator */
.itc-progress {
    text-align: center;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #333;
    border: 1px solid #e0e0e0;
}

.itc-progress i {
    margin-right: 8px;
    color: #B0E0FF;
}

/* Text output area */
.itc-text-output {
    margin-bottom: 20px;
}

.itc-text-output textarea {
    width: 100%;
    height: 200px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: monospace;
    font-size: 1rem;
    resize: vertical;
    background-color: #fff;
    color: #000;
    box-sizing: border-box;
}

.itc-text-output textarea:focus {
    outline: none;
    border-color: #B0E0FF;
}

/* Action buttons */
.itc-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.itc-button {
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    color: #000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.itc-button:hover {
    filter: brightness(95%);
}

.itc-button:active {
    transform: scale(0.98);
}

.itc-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.itc-button i {
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .itc-header h2 {
        font-size: 1.5rem;
    }

    .itc-body {
        padding: 20px 15px;
    }

    .itc-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .itc-button {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .itc-upload-area {
        padding: 30px 15px;
    }

    .itc-upload-area i {
        font-size: 36px;
    }

    .itc-upload-area p {
        font-size: 1rem;
    }
}