/* Flutter Border Generator CSS */

/* Custom width for number inputs */
.width-70px {
    width: 70px;
}

/* Border preview container */
.preview-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Border preview element */
.border-preview {
    width: 200px;
    height: 200px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #333;
}

/* Section titles */
.section-title {
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

/* Border section */
.border-section {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.border-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Code block */
.code-block {
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 200px;
    overflow-y: auto;
    margin: 0;
}

/* Copy button hover effect */
#copyFlutter:hover, #copyAndroid:hover {
    background-color: #e9ecef;
}

/* Success message for copy */
.copy-success {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    animation: fadeOut 2s forwards;
    animation-delay: 1s;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .preview-container {
        min-height: 150px;
    }

    .border-preview {
        width: 150px;
        height: 150px;
    }
}
