/* Visitor Access Management Styles */

.visitor-registration-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.visitor-registration-form h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.form-row {
    margin-bottom: 15px;
}

.form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="file"],
.form-row textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-row .description {
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
}

.visitor-profile {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.visitor-profile h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.visitor-profile-details {
    display: flex;
    margin-bottom: 30px;
}

.visitor-photo {
    flex: 0 0 128px;
    margin-right: 20px;
}

.visitor-photo img {
    border-radius: 50%;
    width: 128px;
    height: 128px;
    object-fit: cover;
}

.visitor-photo-img {
    border-radius: 50%;
    width: 128px;
    height: 128px;
    object-fit: cover;
}

.visitor-info {
    flex: 1;
}

.visitor-info h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.visitor-meta p {
    margin: 5px 0;
}

.visitor-qr-code {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.visitor-qr-code h4 {
    margin-bottom: 10px;
}

#visitor-profile-qr {
    display: inline-block;
    margin-top: 15px;
}

.vam-qr-code {
    text-align: center;
    margin: 20px auto;
}