﻿
.device-name {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.device-card {
    margin-bottom: 40px;
    position: relative;
    transform: rotate(-8deg);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: rotate(-8deg) translateY(0px);
    }

    50% {
        transform: rotate(-8deg) translateY(-10px);
    }
}

.device-notch {
    width: 60px;
    height: 6px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    margin-bottom: 20px;
}

.device-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

    .device-icon::before {
        content: '';
        width: 24px;
        height: 24px;
        background: #0066ff;
        border-radius: 50%;
    }

.device-greeting {
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.input-container {
    width: 100%;
    max-width: 380px;
    position: relative;
    margin-bottom: 30px;
}

.device-input {
    padding: 18px 50px 18px 20px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    outline: none;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

    .device-input:focus {
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
        transform: translateY(-2px);
    }

.clear-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: #d0d0d0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: all 0.2s ease;
}

    .clear-btn:hover {
        background: #b0b0b0;
    }

    .clear-btn::before {
        content: '×';
        font-size: 20px;
        line-height: 1;
    }

@media (max-width: 480px) {
    .input-container {
        max-width: 340px;
    }
}
