* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    max-width: 430px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    background: white;
    min-height: 100vh;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.menu-icon {
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

.logo {
    width: 40px;
    height: 40px;
}

.profile-icon {
    width: 40px;
    height: 40px;
    background: #ffd9b3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-container {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.instruction-text {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
}

.illustration {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

.measurement-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.requirements-list {
    list-style: none;
    margin-bottom: 30px;
}

.requirements-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: #333;
    font-size: 15px;
}

.requirements-list li:before {
    content: "";
    display: inline-block;
    width: 20px;
    margin-right: 10px;
}

.button-primary {
    background: #ff9900;
    color: white;
    border: none;
    padding: 15px;
    width: 100%;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button-primary:hover {
    background: #e68a00;
}

.button-secondary {
    background: white;
    color: #333;
    border: 1px solid #ddd;
    padding: 15px;
    width: 100%;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.measurement-figure {
    text-align: center;
    margin: 20px 0;
}

.measurement-figure img {
    width: 200px;
    margin: 0 auto;
}

.pose-container {
    margin-bottom: 16px;
}

.pose-image {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 8px;
}

.pose-description {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.measurement-box {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.measurement-label {
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
}

.measurement-value {
    display: flex;
    align-items: center;
}

.value {
    margin-right: 5px;
    font-size: 16px;
    border: none;
    width: 40px;
    text-align: right;
    outline: none;
}

.unit {
    color: #666;
    margin-right: 5px;
}

.chevron {
    color: #666;
    transition: transform 0.3s;
}

.chevron.active {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px 0;
    margin-top: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
    z-index: 100;
    width: 100px;
}

.dropdown.active {
    display: block;
}

.dropdown-item {
    padding: 8px 15px;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 50;
}

.overlay.active {
    display: block;
}

#part1, #part2, #part3 {
    display: none;
}

#part1.active, #part2.active, #part3.active {
    display: block;
}

.size {
    color: #ff9900;
}

@keyframes scanning {
0% { background-position: 0% 50%; }
100% { background-position: 100% 50%; }
}

.scanning {
background: linear-gradient(90deg, #ff9900, #ffb84d, #ff9900);
background-size: 200% 100%;
animation: scanning 2s linear infinite;
}

