* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #1D1D47;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
}

.left-panel {
    flex: 1;
    background: linear-gradient(#1D1D47, #1d4ed8, #312e81);
    color: white;
    padding: 50px;
    min-width: 300px;
}

.left-panel h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.left-panel p {
    line-height: 1.6;
}

.steps {
    margin-top: 50px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.step span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.right-panel {
    flex: 1;
    background: white;
    padding: 50px;
    min-width: 300px;
}

.right-panel h2 {
    margin-bottom: 30px;
    font-size: 32px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.upload-box {
    border: 2px dashed #ccc;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    background: #f9fafb;
}

.camera-box {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    background: black;
    margin-top: 15px;
}

video,
canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

canvas {
    display: none;
}

.face-guide{
    position:absolute;
    width:220px;
    height:280px;
    border:4px solid #00ff88;
    border-radius:50%;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    pointer-events:none;
}

.camera-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.camera-buttons button {
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: white;
    font-size: 16px;
}

#startCamera {
    background: #111827;
}

#captureBtn {
    background: #2563eb;
}

#selfiePreview {
    width: 200px;
    margin-top: 20px;
    border-radius: 15px;
    display: none;
}

.requirements {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    padding: 20px;
    border-radius: 15px;
    margin-top: 30px;
}

.requirements ul {
    margin-top: 10px;
    padding-left: 20px;
}

.requirements li {
    margin-bottom: 10px;
}

.terms {
    margin-top: 25px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.phone-otp-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.phone-otp-group input {
    flex: 1;
}

.phone-otp-group button {
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

#otpStatus {
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}

.submit-btn {
    width: 100%;
    margin-top: 30px;
    padding: 18px;
    background: linear-gradient(135deg, #2563eb, #4338ca);
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

@media(max-width: 768px) {
    .left-panel,
    .right-panel {
        padding: 30px;
    }

    .left-panel h1 {
        font-size: 30px;
    }

    #video {
    transform: none !important;
}

}