* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.register-box {
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 32px;
}

.step-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

#progress {
    flex: 1;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin: 0 20px;
    position: relative;
    overflow: hidden;
}

#progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.step-col {
    flex: 0 0 auto;
}

.step-col small {
    font-size: 12px;
    color: #718096;
    font-weight: 500;
}

#form1 {
    width: 100%;
}

h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.input-box {
    position: relative;
    margin-bottom: 24px;
}

.input-box input {
    width: 100%;
    height: 56px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    outline: none;
    font-size: 16px;
    color: #2d3748;
    padding: 16px 56px 16px 20px;
    transition: all 0.3s ease;
}

.input-box input:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.input-box input:focus + label,
.input-box input:valid + label {
    top: -12px;
    left: 16px;
    color: #667eea;
    font-size: 12px;
    background: white;
    padding: 0 8px;
    font-weight: 600;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #718096;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
}

.input-box .icon-email {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    transition: color 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-box:focus-within .icon-email {
    color: #667eea;
}

.input-box .icon-email svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

p {
    color: #e53e3e;
    font-size: 14px;
    text-align: center;
    margin: 16px 0;
    padding: 12px;
    background: rgba(254, 226, 226, 0.8);
    border: 1px solid #fed7d7;
    border-radius: 12px;
    line-height: 1.4;
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

p:empty {
    display: none;
}

.button-box {
    margin: 24px 0;
}

.button-box button {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.button-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.3);
}

.button-box button:active {
    transform: translateY(0);
}

.button-box button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.button-box button:hover::before {
    left: 100%;
}

.login-link {
    text-align: center;
    margin-top: 24px;
}

.login-link h5 {
    font-size: 14px;
    color: #718096;
    font-weight: 400;
}

.login-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: #764ba2;
    text-decoration: underline;
}
