/* Redirect Checker CSS */

.tool-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#urlInput {
    height: 3.5rem;
    font-size: 1.1rem;
}

#urlInput:focus {
    box-shadow: none;
    border-color: #dee2e6;
}

/* Custom focus ring */
.input-group:focus-within {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-radius: 0.5rem;
}

.input-group:focus-within .form-control,
.input-group:focus-within .input-group-text {
    border-color: #0d6efd;
}

.animate__fadeIn {
    animation-duration: 0.5s;
}

/* Redirect Chain Items */
.redirect-item {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #dee2e6;
    background: #fff;
    transition: background-color 0.2s;
}

.redirect-item:last-child {
    border-bottom: none;
}

.redirect-item:hover {
    background-color: #f8f9fa;
}

.status-code {
    font-weight: 700;
    min-width: 60px;
    text-align: center;
}

.redirect-arrow {
    font-size: 1.25rem;
    color: #adb5bd;
    margin: 0.5rem 0;
    display: block;
    text-align: center;
}

@media (min-width: 768px) {
    .redirect-arrow {
        display: inline-block;
        margin: 0 1rem;
        transform: rotate(-90deg);
        /* If using arrow-down icon, need to rotate? No, let's just use CSS arrow or icon */
    }
}