body {
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 720px; /* Increased from 600px */
    padding: 0 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

.url-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 1px solid #333;
    border-radius: 8px;
    background-color: #2a2a2a;
    color: #fff;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.url-input:focus {
    border-color: #666;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.url-input::placeholder {
    color: #777;
}

.result-container {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
    animation: fadeIn 0.3s ease;
}

.search-container {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
    animation: fadeIn 0.3s ease;
}

#shortenedContainer {
    margin-top: 12px;
}

.transformed-url {
    font-family: 'SF Mono', Consolas, monospace;
    background: #2a2a2a;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    flex: 1;
    border: 1px solid #333;
    font-size: 14px;
    word-break: break-all;
    min-width: 0;
}

.shorten-button{
    padding: 13px; /* Increased from 12px */
    background: #2d2d2d;
    color: #fff;
    border: 1px solid #333;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
}

.shorten-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.copy-button {
    padding: 19px; /* Increased from 12px */
    background: #2d2d2d;
    color: #fff;
    border: 1px solid #333;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
}

.copy-button:hover {
    background: #3a3a3a;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.copy-button.copied {
    background: #2b8a3e;
    border-color: #2b8a3e;
}

.copy-icon {
    width: 22px; /* Increased from 18px */
    height: 22px; /* Increased from 18px */
    opacity: 0.9;
    position: absolute;
    transition: all 0.2s ease;
}

.check-icon {
    width: 22px; /* Increased from 18px */
    height: 22px; /* Increased from 18px */
    position: absolute;
    transition: all 0.2s ease;
    opacity: 0;
    transform: scale(0.5);
}

.copy-button.copied .copy-icon {
    opacity: 0;
    transform: scale(0.5);
}

.copy-button.copied .check-icon {
    opacity: 1;
    transform: scale(1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.credits {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: auto;
    background-color: #1a1a1a;
}

.credits a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.credits a:hover {
    color: #fff;
}

@media (max-width: 700px) {
    body {
        height: auto;
        min-height: 100vh;
    }

    .wrapper {
        padding: 20px 0;
    }

    .container {
        padding: 0 12px;
    }

    .url-input {
        padding: 12px;
        font-size: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .result-container {
        gap: 8px;
        margin-top: 12px;
    }

    .transformed-url {
        width: 100%;
        box-sizing: border-box;
        padding: 10px;
        font-size: 13px;
    }

    .copy-button {
        padding: 10px;
        flex-shrink: 0;
    }

    .url-input {
        padding: 12px 16px;
        font-size: 14px;
    }

    .result-container {
        margin-top: 12px;
        gap: 8px;
    }

    .transformed-url {
        padding: 10px 12px;
        font-size: 13px;
    }

    .copy-button {
        padding: 10px;
    }

    .copy-icon, .check-icon {
        width: 20px;
        height: 20px;
    }

    .credits {
        padding: 16px 0;
        font-size: 12px;
    }

    .credits p {
        margin: 0;
        padding: 0 16px;
        line-height: 1.5;
    }
}
