/* Responsive Breakpoint Generator Styles */
.tool-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: none;
}

.card-header {
    font-weight: 600;
}

#generated-code {
    min-height: 200px;
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 0;
}

#generated-code code {
    display: block;
    white-space: pre-wrap;
    font-family: 'Courier New', Courier, monospace;
    color: #333;
}

.breakpoint-form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.breakpoint-form-row .form-group {
    flex: 1;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.rating-input input {
    display: none;
}

.rating-input label {
    color: #ddd;
    cursor: pointer;
    font-size: 1.25rem;
}

.rating-input input:checked ~ label,
.rating-input input:hover ~ label {
    color: #ffc107;
}

/* Custom table styles */
.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 600;
    background-color: #f8f9fa;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .breakpoint-form-row {
        flex-direction: column;
    }
}

/* Tool specific styles */
#custom-breakpoints tr:last-child td {
    border-bottom: none;
}

#default-breakpoints tr:last-child td {
    border-bottom: none;
}

/* Highlight copied text */
.copied {
    position: relative;
}

.copied::after {
    content: "Copied!";
    position: absolute;
    top: -25px;
    right: 0;
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    animation: fadeOut 2s ease-in-out forwards;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}