body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f8c573; /* Background color */
    color: #333;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to top for longer content */
    min-height: 100vh;
}

.container {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 660px;
    text-align: center;
    border: 2px solid #cf4c08; /* Outline border color */
}

h1 {
    color: #ec740f; /* Primary color */
    margin-bottom: 20px;
}
.mascot-image {
    max-width: 100px; /* or another size that works for your design */
    height: auto;
    display: block;
    margin: 0 auto 20px auto; /* Center the image and add some margin below */
}
label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #e23613; /* Highlight color */
    text-align: left;
    font-size: 16px;
}

input[type="url"], input[type="text"], #start_url {
    width: calc(100% - 22px); /* Account for padding and border */
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="url"]:focus, input[type="text"]:focus, #start_url:focus {
    border-color: #ec740f;
    outline: none;
    box-shadow: 0 0 5px rgba(236, 116, 15, 0.5);
}

button[type="submit"] {
    background-color: #206C73; /* Button color */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0056b3; /* Darker hover shade of button color */
}

.result {
    margin-top: 20px;
    padding: 15px;
    background-color: #e6ffed;
    border: 1px solid #b7ebc0;
    border-radius: 4px;
    text-align: left;
}

.result p {
    margin: 0;
    color: #257942;
}

.result a {
    color: #1a5c33;
    font-weight: bold;
    text-decoration: none;
}

.result a:hover {
    text-decoration: underline;
    color: #cf4c08; /* Hover color change */
}

.error {
    margin-top: 20px;
    padding: 15px;
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    text-align: left;
}

.error p {
    margin: 0;
    color: #c62828;
}

.feature-link {
    display: inline-block;
    background-color: #206C73;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.feature-link:hover {
    background-color: #0056b3;
    text-decoration: none;
}

    .redirect-container {
            margin-top: 20px;
            text-align: left;
        }
        .redirect-section {
            margin-bottom: 20px;
        }
        .redirect-section h3 {
            color: #206C73;
            margin-bottom: 10px;
        }
        .redirect-list {
            background-color: #f5f5f5;
            padding: 15px;
            border-radius: 4px;
            max-height: 300px;
            overflow-y: auto;
            font-family: monospace;
            white-space: pre-wrap;
            word-break: break-all;
        }
        .match-item {
            display: flex;
            margin-bottom: 5px;
            padding: 5px;
            background-color: #e6ffed;
            border-radius: 3px;
        }
        .unmatch-item {
            padding: 5px;
            margin-bottom: 5px;
            background-color: #ffebee;
            border-radius: 3px;
        }
        .old-url {
            color: #c62828;
            flex: 1;
            padding-right: 10px;
        }
        .new-url {
            color: #257942;
            flex: 1;
        }
        .arrow {
            margin: 0 10px;
            color: #666;
        }
        .back-link {
            display: inline-block;
            margin-top: 20px;
            color: #206C73;
            text-decoration: none;
        }
        .back-link:hover {
            text-decoration: underline;
        }
        .copy-button {
            background-color: #206C73;
            color: white;
            border: none;
            padding: 5px 10px;
            border-radius: 3px;
            cursor: pointer;
            margin-top: 5px;
        }
        .copy-button:hover {
            background-color: #0056b3;
        }