/* Form Container */
.form-container {
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Elements */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1em;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: #007bff;
    outline: none;
}

/* Submit Button */
.btn-submit {
    background-color: #007bff;
    color: white;
    font-size: 1.2em;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.btn-submit:hover {
    background-color: #0056b3;
}

/* Success and Error Messages */
.message {
    padding: 10px;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 1em;
}

.success {
    background-color: #28a745;
    color: white;
}

.error {
    background-color: #dc3545;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-container {
        padding: 15px;
        margin: 0 10px;
    }

    .form-input {
        padding: 8px;
    }

    .btn-submit {
        padding: 10px;
    }
}


.floating-menu {
    position: fixed;
    top: 20%;
    right: 0;
    width: 160px;
    background: #d32f2f;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    overflow: hidden;
    transition: transform 0.3s ease;
    z-index: 9999;
}

.floating-menu.collapsed {
    transform: translateX(130px);
}

.floating-menu img {
    max-width: 100%;
    display: block;
}

.menu-item {
    display: block;
    padding: 12px;
    color: white;
    text-decoration: none;
    border-top: 1px solid rgba(255,255,255,0.3);
    font-size: 14px;
}

.menu-item:hover {
    background: #b71c1c;
}

.qr-code {
    background: white;
    padding: 10px;
    text-align: center;
}

.qr-code img {
    width: 100px;
    height: 100px;
}

.qr-code div {
    color: black;
    font-size: 14px;
    margin-top: 5px;
}

/* Toggle button styled like the screenshot tab */
.toggle-btn {
    background: #b71c1c;
    color: white;
    font-size: 13px;
    padding: 5px 0;
    cursor: pointer;
    border-top: 1px solid rgba(255,255,255,0.3);
    text-align: center;
}

.toggle-btn:hover {
    background: #a01515;
}